| 1 |
// Copyright The OpenTelemetry Authors |
| 2 |
// SPDX-License-Identifier: Apache-2.0 |
| 3 |
|
| 4 |
package instrumentation // import "go.opentelemetry.io/otel/sdk/instrumentation" |
| 5 |
|
| 6 |
import "go.opentelemetry.io/otel/attribute" |
| 7 |
|
| 8 |
// Scope represents the instrumentation scope. |
| 9 |
type Scope struct { |
| 10 |
// Name is the name of the instrumentation scope. This should be the |
| 11 |
// Go package name of that scope. |
| 12 |
Name string |
| 13 |
// Version is the version of the instrumentation scope. |
| 14 |
Version string |
| 15 |
// SchemaURL of the telemetry emitted by the scope. |
| 16 |
SchemaURL string |
| 17 |
// Attributes of the telemetry emitted by the scope. |
| 18 |
Attributes attribute.Set |
| 19 |
} |