MCPcopy Create free account

hub / github.com/deathowl/go-metrics-prometheus / functions

Functions20 in github.com/deathowl/go-metrics-prometheus

↓ 20 callersMethodgaugeFromNameAndValue
(name string, val float64)
prometheusmetrics.go:69
↓ 8 callersFunctionNewPrometheusProvider
NewPrometheusProvider returns a Provider that produces Prometheus metrics. Namespace and subsystem are applied to all produced metrics.
prometheusmetrics.go:31
↓ 7 callersMethodflattenKey
(key string)
prometheusmetrics.go:56
↓ 6 callersMethodUpdatePrometheusMetrics
()
prometheusmetrics.go:145
↓ 2 callersMethodUpdatePrometheusMetricsOnce
()
prometheusmetrics.go:151
↓ 2 callersMethodcreateKey
(name string)
prometheusmetrics.go:65
↓ 2 callersMethodhistogramFromNameAndMetric
(name string, goMetric interface{}, buckets []float64)
prometheusmetrics.go:85
↓ 1 callersFunctionNewCustomCollector
(mutex *sync.Mutex)
prometheusmetrics.go:201
MethodCollect
(ch chan<- prometheus.Metric)
prometheusmetrics.go:207
MethodDescribe
(ch chan<- *prometheus.Desc)
prometheusmetrics.go:216
FunctionTestPrometheusCounterGetUpdated
(t *testing.T)
prometheusmetrics_test.go:60
FunctionTestPrometheusGaugeGetUpdated
(t *testing.T)
prometheusmetrics_test.go:78
FunctionTestPrometheusHistogramGetUpdated
(t *testing.T)
prometheusmetrics_test.go:137
FunctionTestPrometheusMeterGetUpdated
(t *testing.T)
prometheusmetrics_test.go:99
FunctionTestPrometheusRegistration
(t *testing.T)
prometheusmetrics_test.go:13
FunctionTestPrometheusTimerGetUpdated
(t *testing.T)
prometheusmetrics_test.go:173
FunctionTestUpdatePrometheusMetrics
(t *testing.T)
prometheusmetrics_test.go:40
FunctionTestUpdatePrometheusMetricsOnce
(t *testing.T)
prometheusmetrics_test.go:21
MethodWithHistogramBuckets
(b []float64)
prometheusmetrics.go:46
MethodWithTimerBuckets
(b []float64)
prometheusmetrics.go:51