Documentation
¶
Overview ¶
Package otelpostgres preserves the released OpenTelemetry adapter path. New code should import github.com/faustbrian/go-postgres/v2/adapters/otel. New retains the released instrumentation scope while borrowing the provider; provider lifecycle and query tracing remain caller-owned.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config
deprecated
type Config struct {
// MeterProvider is borrowed; nil selects a no-op provider. Its shutdown is
// caller-owned.
MeterProvider metric.MeterProvider
}
Config selects the standard OpenTelemetry meter provider.
Deprecated: import github.com/faustbrian/go-postgres/v2/adapters/otel.
type Observer
deprecated
type Observer struct {
// contains filtered or unexported fields
}
Observer records bounded lifecycle and transaction metrics.
Deprecated: import github.com/faustbrian/go-postgres/v2/adapters/otel.
Click to show internal directories.
Click to hide internal directories.