Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricsInterface ¶
type MetricsInterface interface { Record(store, metric string, value float64) RecordFromCodec(codec codec.CodecInterface) }
MetricsInterface represents the metrics interface for all available providers
type Prometheus ¶
type Prometheus struct {
// contains filtered or unexported fields
}
func NewPrometheus ¶
func NewPrometheus(service string) *Prometheus
func (*Prometheus) Record ¶
func (m *Prometheus) Record(store, metric string, value float64)
func (*Prometheus) RecordFromCodec ¶
func (m *Prometheus) RecordFromCodec(codec codec.CodecInterface)
Click to show internal directories.
Click to hide internal directories.