Documentation ¶
Index ¶
Constants ¶
View Source
const ( FieldComponent = "component" FieldMethod = "method" FieldNamespace = "namespace" FieldRoute = "route" FieldService = "service" FieldSource = "source" FieldStatus = "status" FieldStore = "store" FieldVersion = "version" )
Field names for metric labels.
Variables ¶
View Source
var BucketsQueue = []float64{
.0005,
.001,
.0025,
.005,
.01,
.025,
.05,
.1,
.25,
.5,
1,
}
BucketsQueue are used for Histograms observing queue latencies.
Functions ¶
func KeyMetrics ¶
func KeyMetrics( namespace string, fieldKeys ...string, ) (*kitprometheus.Counter, *kitprometheus.Counter, *prometheus.HistogramVec)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.