ImportPath
: The import path of the package that contains the function to be instrumented. e.g.net/http
.Function
: The name of the function to be instrumented.ReceiverType
: The type of the receiver of the function to be instrumented. e.g.*http.Server
,http.Server
.OnEnter
: The name of the function to be called when the instrumented function is called. e.g.clientOnEnter
.OnExit
: The name of the function to be called when the instrumented function returns. e.g.clientOnExit
.Order
: The order of the probe code in the instrumented function. e.g.0
,1
,2
.Path
: The path to the directory containing the probe code. The path can be either go module url or local file system path, e.g.github.com/foo/bar
or/path/to/probe/code
.Version
: The version of the package that contains the function to be instrumented. e.g.[1.0.0,1.1.0)
, the version range is[1.0.0,1.1.0)
, which means the version is greater than or equal to1.0.0
and less than1.1.0
.
ImportPath
: The import path of the package that contains the function to be instrumented.FileName
: The name of the file to be added.Path
: The path to the directory containing the probe code.
ImportPath
: The import path of the package that contains the struct to be instrumented.StructType
: The name of the struct to be instrumented.FieldName
: The name of the field to be added.FieldType
: The type of the field to be added.