mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-30 15:42:46 +00:00
c097745c38
Bumps [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://github.com/open-telemetry/opentelemetry-go) from 1.24.0 to 1.25.0. - [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md) - [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.24.0...v1.25.0) --- updated-dependencies: - dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
46 lines
2.1 KiB
Go
46 lines
2.1 KiB
Go
// Copyright The OpenTelemetry Authors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
// Package embedded provides interfaces embedded within the [OpenTelemetry
|
|
// trace API].
|
|
//
|
|
// Implementers of the [OpenTelemetry trace API] can embed the relevant type
|
|
// from this package into their implementation directly. Doing so will result
|
|
// in a compilation error for users when the [OpenTelemetry trace API] is
|
|
// extended (which is something that can happen without a major version bump of
|
|
// the API package).
|
|
//
|
|
// [OpenTelemetry trace API]: https://pkg.go.dev/go.opentelemetry.io/otel/trace
|
|
package embedded // import "go.opentelemetry.io/otel/trace/embedded"
|
|
|
|
// TracerProvider is embedded in
|
|
// [go.opentelemetry.io/otel/trace.TracerProvider].
|
|
//
|
|
// Embed this interface in your implementation of the
|
|
// [go.opentelemetry.io/otel/trace.TracerProvider] if you want users to
|
|
// experience a compilation error, signaling they need to update to your latest
|
|
// implementation, when the [go.opentelemetry.io/otel/trace.TracerProvider]
|
|
// interface is extended (which is something that can happen without a major
|
|
// version bump of the API package).
|
|
type TracerProvider interface{ tracerProvider() }
|
|
|
|
// Tracer is embedded in [go.opentelemetry.io/otel/trace.Tracer].
|
|
//
|
|
// Embed this interface in your implementation of the
|
|
// [go.opentelemetry.io/otel/trace.Tracer] if you want users to experience a
|
|
// compilation error, signaling they need to update to your latest
|
|
// implementation, when the [go.opentelemetry.io/otel/trace.Tracer] interface
|
|
// is extended (which is something that can happen without a major version bump
|
|
// of the API package).
|
|
type Tracer interface{ tracer() }
|
|
|
|
// Span is embedded in [go.opentelemetry.io/otel/trace.Span].
|
|
//
|
|
// Embed this interface in your implementation of the
|
|
// [go.opentelemetry.io/otel/trace.Span] if you want users to experience a
|
|
// compilation error, signaling they need to update to your latest
|
|
// implementation, when the [go.opentelemetry.io/otel/trace.Span] interface is
|
|
// extended (which is something that can happen without a major version bump of
|
|
// the API package).
|
|
type Span interface{ span() }
|