mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-02-11 15:20:17 +00:00
dd094e4012
* chore: update otel dependencies * refactor: combine tracing & metrics in observability package * chore: update example tracing compose file
20 lines
617 B
Go
20 lines
617 B
Go
// Copyright The OpenTelemetry Authors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package instrumentation // import "go.opentelemetry.io/otel/sdk/instrumentation"
|
|
|
|
import "go.opentelemetry.io/otel/attribute"
|
|
|
|
// 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
|
|
// Attributes of the telemetry emitted by the scope.
|
|
Attributes attribute.Set
|
|
}
|