demo

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstrumentGoTrace

func InstrumentGoTrace(spanName string, hasCtx bool, ctx gonativectx.Context, args ...interface{})

InstrumentGoTrace instrumentation function example using go trace usage: find . -name "*.go"|grep -vE "test|example"|xargs -I {} go-instrument-tool -source={} -replace -patches=xxx/demo/instrument_go_trace.go

func ProcessFunc

func ProcessFunc(spanName string, hasCtx bool, ctx gonativectx.Context, args ...interface{})

ProcessFunc instrumentation function example using go trace

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL