Documentation ¶
Index ¶
Constants ¶
View Source
const ( LabelSuccess = "success" LabelGenericError = "generic_err" LabelParseErr = "parse_err" LabelInterruptedErr = "interrupt_err" LabelRuntimeError = "runtime_error" LabelNotImplError = "not_implemented" LabelNotExecuted = "not_executed" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerMetrics ¶
type ControllerMetrics struct { Requests *prometheus.CounterVec NotImplemented *prometheus.CounterVec RequestsLatency *prometheus.HistogramVec ExecutingDuration *prometheus.HistogramVec }
controllerMetrics holds metrics related to the query controller.
func NewControllerMetrics ¶
func NewControllerMetrics(labels []string) *ControllerMetrics
func (*ControllerMetrics) PrometheusCollectors ¶
func (cm *ControllerMetrics) PrometheusCollectors() []prometheus.Collector
Click to show internal directories.
Click to hide internal directories.