package instrumentation
import "go.opentelemetry.io/otel/sdk/instrumentation"
Package instrumentation provides an instrumentation library structure to be passed to both the OpenTelemetry Tracer and Meter components.
For more information see [this](https://github.com/open-telemetry/oteps/blob/main/text/0083-component.md).
Package instrumentation provides an instrumentation scope structure to be passed to both the OpenTelemetry Tracer and Meter components.
For more information see [this](https://github.com/open-telemetry/oteps/blob/main/text/0083-component.md).
Index ¶
Types ¶
type Library ¶
type Library = Scope
Library represents the instrumentation library. Deprecated: please use Scope instead.
type Scope ¶
type Scope struct { // Name is the name of the instrumentation scope. This should be the // Go package name of that scope. Name string // Version is the version of the instrumentation scope. Version string // SchemaURL of the telemetry emitted by the scope. SchemaURL string }
Scope represents the instrumentation scope.
Source Files ¶
library.go scope.go
Tools for package owners.