2021-08-09 07:19:24 +00:00
|
|
|
// Copyright The OpenTelemetry Authors
|
2024-08-19 08:01:33 +00:00
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
2021-08-09 07:19:24 +00:00
|
|
|
|
2023-02-01 17:06:36 +00:00
|
|
|
package instrumentation // import "go.opentelemetry.io/otel/sdk/instrumentation"
|
2021-08-09 07:19:24 +00:00
|
|
|
|
2023-02-01 17:06:36 +00:00
|
|
|
// Scope represents the instrumentation 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
|
2021-08-09 07:19:24 +00:00
|
|
|
}
|