Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRegistry ¶
func NewRegistry(opts NewRegistryOptions) (metrics.Registry, error)
Types ¶
type ErrorHandler ¶
type ErrorHandler func(error)
func LoggingErrorHandler ¶
func LoggingErrorHandler(dest *slog.Logger) ErrorHandler
type NewRegistryOptions ¶
type NewRegistryOptions struct { MetricMeter otelmetric.Meter NameTransformFn TransformMetricsNameToOtel ErrorHandler ErrorHandler }
type TransformMetricsNameToOtel ¶
func MetricAddNamePrefix ¶
func MetricAddNamePrefix(prefix string) TransformMetricsNameToOtel
Click to show internal directories.
Click to hide internal directories.