Documentation ¶
Overview ¶
Package instr provides the instrumentation facility for metrics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
type Metrics struct { RemoteWriteRequests *prometheus.CounterVec RemoteWriteRequestDuration prometheus.Histogram QueryResponses *prometheus.CounterVec QueryResponseDuration prometheus.Histogram MetricValueDifference prometheus.Histogram CustomQueryExecuted *prometheus.CounterVec CustomQueryErrors *prometheus.CounterVec CustomQueryRequestDuration *prometheus.HistogramVec CustomQueryLastDuration *prometheus.GaugeVec }
func RegisterMetrics ¶
func RegisterMetrics(reg *prometheus.Registry) Metrics
Click to show internal directories.
Click to hide internal directories.