blob: 34852a47b2195420420162377b2780f86b4597c9 [file] [log] [blame]
Abhay Kumara2ae5992025-11-10 14:02:24 +00001// Copyright The OpenTelemetry Authors
2// SPDX-License-Identifier: Apache-2.0
3
4package instrumentation // import "go.opentelemetry.io/otel/sdk/instrumentation"
5
6import "go.opentelemetry.io/otel/attribute"
7
8// Scope represents the instrumentation scope.
9type 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}