embedded
v1.47.0
Documentation
pkg.go.dev ↗Package embedded provides interfaces embedded within the OpenTelemetry metric API.
Implementers of the OpenTelemetry metric 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 metric API is extended (which is something that can happen without a major version bump of the API package).
Types
Float64Counter
type Float64Counter interface {
// contains filtered or unexported methods
}
Float64Counter is embedded in go.opentelemetry.io/otel/metric.Float64Counter.
Embed this interface in your implementation of the go.opentelemetry.io/otel/metric.Float64Counter if you want users to experience a compilation error, signaling they need to update to your latest implementation, when the go.opentelemetry.io/otel/metric.Float64Counter interface is extended (which is something that can happen without a major version bump of the API package).
Float64Gauge
type Float64Gauge interface {
// contains filtered or unexported methods
}
Float64Gauge is embedded in go.opentelemetry.io/otel/metric.Float64Gauge.
Embed this interface in your implementation of the go.opentelemetry.io/otel/metric.Float64Gauge if you want users to experience a compilation error, signaling they need to update to your latest implementation, when the go.opentelemetry.io/otel/metric.Float64Gauge interface is extended (which is something that can happen without a major version bump of the API package).
Float64Histogram
type Float64Histogram interface {
// contains filtered or unexported methods
}
Float64Histogram is embedded in go.opentelemetry.io/otel/metric.Float64Histogram.
Embed this interface in your implementation of the go.opentelemetry.io/otel/metric.Float64Histogram if you want users to experience a compilation error, signaling they need to update to your latest implementation, when the go.opentelemetry.io/otel/metric.Float64Histogram interface is extended (which is something that can happen without a major version bump of the API package).
Float64ObservableCounter
type Float64ObservableCounter interface {
// contains filtered or unexported methods
}
Float64ObservableCounter is embedded in go.opentelemetry.io/otel/metric.Float64ObservableCounter.
Embed this interface in your implementation of the go.opentelemetry.io/otel/metric.Float64ObservableCounter if you want users to experience a compilation error, signaling they need to update to your latest implementation, when the go.opentelemetry.io/otel/metric.Float64ObservableCounter interface is extended (which is something that can happen without a major version bump of the API package).
Float64ObservableGauge
type Float64ObservableGauge interface {
// contains filtered or unexported methods
}
Float64ObservableGauge is embedded in go.opentelemetry.io/otel/metric.Float64ObservableGauge.
Embed this interface in your implementation of the go.opentelemetry.io/otel/metric.Float64ObservableGauge if you want users to experience a compilation error, signaling they need to update to your latest implementation, when the go.opentelemetry.io/otel/metric.Float64ObservableGauge interface is extended (which is something that can happen without a major version bump of the API package).
Float64ObservableUpDownCounter
type Float64ObservableUpDownCounter interface {
// contains filtered or unexported methods
}
Float64ObservableUpDownCounter is embedded in go.opentelemetry.io/otel/metric.Float64ObservableUpDownCounter.
Embed this interface in your implementation of the go.opentelemetry.io/otel/metric.Float64ObservableUpDownCounter if you want users to experience a compilation error, signaling they need to update to your latest implementation, when the go.opentelemetry.io/otel/metric.Float64ObservableUpDownCounter interface is extended (which is something that can happen without a major version bump of the API package).
Float64Observer
type Float64Observer interface {
// contains filtered or unexported methods
}
Float64Observer is embedded in go.opentelemetry.io/otel/metric.Float64Observer.
Embed this interface in your implementation of the go.opentelemetry.io/otel/metric.Float64Observer if you want users to experience a compilation error, signaling they need to update to your latest implementation, when the go.opentelemetry.io/otel/metric.Float64Observer interface is extended (which is something that can happen without a major version bump of the API package).
Float64UpDownCounter
type Float64UpDownCounter interface {
// contains filtered or unexported methods
}
Float64UpDownCounter is embedded in go.opentelemetry.io/otel/metric.Float64UpDownCounter.
Embed this interface in your implementation of the go.opentelemetry.io/otel/metric.Float64UpDownCounter if you want users to experience a compilation error, signaling they need to update to your latest implementation, when the go.opentelemetry.io/otel/metric.Float64UpDownCounter interface is extended (which is something that can happen without a major version bump of the API package).
Int64Counter
type Int64Counter interface {
// contains filtered or unexported methods
}
Int64Counter is embedded in go.opentelemetry.io/otel/metric.Int64Counter.
Embed this interface in your implementation of the go.opentelemetry.io/otel/metric.Int64Counter if you want users to experience a compilation error, signaling they need to update to your latest implementation, when the go.opentelemetry.io/otel/metric.Int64Counter interface is extended (which is something that can happen without a major version bump of the API package).
Int64Gauge
type Int64Gauge interface {
// contains filtered or unexported methods
}
Int64Gauge is embedded in go.opentelemetry.io/otel/metric.Int64Gauge.
Embed this interface in your implementation of the go.opentelemetry.io/otel/metric.Int64Gauge if you want users to experience a compilation error, signaling they need to update to your latest implementation, when the go.opentelemetry.io/otel/metric.Int64Gauge interface is extended (which is something that can happen without a major version bump of the API package).
Int64Histogram
type Int64Histogram interface {
// contains filtered or unexported methods
}
Int64Histogram is embedded in go.opentelemetry.io/otel/metric.Int64Histogram.
Embed this interface in your implementation of the go.opentelemetry.io/otel/metric.Int64Histogram if you want users to experience a compilation error, signaling they need to update to your latest implementation, when the go.opentelemetry.io/otel/metric.Int64Histogram interface is extended (which is something that can happen without a major version bump of the API package).
Int64ObservableCounter
type Int64ObservableCounter interface {
// contains filtered or unexported methods
}
Int64ObservableCounter is embedded in go.opentelemetry.io/otel/metric.Int64ObservableCounter.
Embed this interface in your implementation of the go.opentelemetry.io/otel/metric.Int64ObservableCounter if you want users to experience a compilation error, signaling they need to update to your latest implementation, when the go.opentelemetry.io/otel/metric.Int64ObservableCounter interface is extended (which is something that can happen without a major version bump of the API package).
Int64ObservableGauge
type Int64ObservableGauge interface {
// contains filtered or unexported methods
}
Int64ObservableGauge is embedded in go.opentelemetry.io/otel/metric.Int64ObservableGauge.
Embed this interface in your implementation of the go.opentelemetry.io/otel/metric.Int64ObservableGauge if you want users to experience a compilation error, signaling they need to update to your latest implementation, when the go.opentelemetry.io/otel/metric.Int64ObservableGauge interface is extended (which is something that can happen without a major version bump of the API package).
Int64ObservableUpDownCounter
type Int64ObservableUpDownCounter interface {
// contains filtered or unexported methods
}
Int64ObservableUpDownCounter is embedded in go.opentelemetry.io/otel/metric.Int64ObservableUpDownCounter.
Embed this interface in your implementation of the go.opentelemetry.io/otel/metric.Int64ObservableUpDownCounter if you want users to experience a compilation error, signaling they need to update to your latest implementation, when the go.opentelemetry.io/otel/metric.Int64ObservableUpDownCounter interface is extended (which is something that can happen without a major version bump of the API package).
Int64Observer
type Int64Observer interface {
// contains filtered or unexported methods
}
Int64Observer is embedded in go.opentelemetry.io/otel/metric.Int64Observer.
Embed this interface in your implementation of the go.opentelemetry.io/otel/metric.Int64Observer if you want users to experience a compilation error, signaling they need to update to your latest implementation, when the go.opentelemetry.io/otel/metric.Int64Observer interface is extended (which is something that can happen without a major version bump of the API package).
Int64UpDownCounter
type Int64UpDownCounter interface {
// contains filtered or unexported methods
}
Int64UpDownCounter is embedded in go.opentelemetry.io/otel/metric.Int64UpDownCounter.
Embed this interface in your implementation of the go.opentelemetry.io/otel/metric.Int64UpDownCounter if you want users to experience a compilation error, signaling they need to update to your latest implementation, when the go.opentelemetry.io/otel/metric.Int64UpDownCounter interface is extended (which is something that can happen without a major version bump of the API package).
Meter
type Meter interface {
// contains filtered or unexported methods
}
Meter is embedded in go.opentelemetry.io/otel/metric.Meter.
Embed this interface in your implementation of the go.opentelemetry.io/otel/metric.Meter if you want users to experience a compilation error, signaling they need to update to your latest implementation, when the go.opentelemetry.io/otel/metric.Meter interface is extended (which is something that can happen without a major version bump of the API package).
MeterProvider
type MeterProvider interface {
// contains filtered or unexported methods
}
MeterProvider is embedded in go.opentelemetry.io/otel/metric.MeterProvider.
Embed this interface in your implementation of the go.opentelemetry.io/otel/metric.MeterProvider if you want users to experience a compilation error, signaling they need to update to your latest implementation, when the go.opentelemetry.io/otel/metric.MeterProvider interface is extended (which is something that can happen without a major version bump of the API package).
Observer
type Observer interface {
// contains filtered or unexported methods
}
Observer is embedded in go.opentelemetry.io/otel/metric.Observer.
Embed this interface in your implementation of the go.opentelemetry.io/otel/metric.Observer if you want users to experience a compilation error, signaling they need to update to your latest implementation, when the go.opentelemetry.io/otel/metric.Observer interface is extended (which is something that can happen without a major version bump of the API package).
Registration
type Registration interface {
// contains filtered or unexported methods
}
Registration is embedded in go.opentelemetry.io/otel/metric.Registration.
Embed this interface in your implementation of the go.opentelemetry.io/otel/metric.Registration if you want users to experience a compilation error, signaling they need to update to your latest implementation, when the go.opentelemetry.io/otel/metric.Registration interface is extended (which is something that can happen without a major version bump of the API package).