Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IncrementInstrument ¶
type MetricsProvider ¶
type MetricsProvider interface {
NewSetCounter(name string, labels []string) SetInstrument
NewIncrementCounter(name string, labels []string) IncrementInstrument
NewGauge(name string, labels []string) SetInstrument
}
func NewPrometheusMetricsProvider ¶
func NewPrometheusMetricsProvider(ctx context.Context, opts *PrometheusOpts) (MetricsProvider, error)
type PrometheusOpts ¶
Click to show internal directories.
Click to hide internal directories.