Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deathowl/go-metrics-prometheus
/ functions
Functions
20 in github.com/deathowl/go-metrics-prometheus
⨍
Functions
20
◇
Types & classes
2
↓ 20 callers
Method
gaugeFromNameAndValue
(name string, val float64)
prometheusmetrics.go:69
↓ 8 callers
Function
NewPrometheusProvider
NewPrometheusProvider returns a Provider that produces Prometheus metrics. Namespace and subsystem are applied to all produced metrics.
prometheusmetrics.go:31
↓ 7 callers
Method
flattenKey
(key string)
prometheusmetrics.go:56
↓ 6 callers
Method
UpdatePrometheusMetrics
()
prometheusmetrics.go:145
↓ 2 callers
Method
UpdatePrometheusMetricsOnce
()
prometheusmetrics.go:151
↓ 2 callers
Method
createKey
(name string)
prometheusmetrics.go:65
↓ 2 callers
Method
histogramFromNameAndMetric
(name string, goMetric interface{}, buckets []float64)
prometheusmetrics.go:85
↓ 1 callers
Function
NewCustomCollector
(mutex *sync.Mutex)
prometheusmetrics.go:201
Method
Collect
(ch chan<- prometheus.Metric)
prometheusmetrics.go:207
Method
Describe
(ch chan<- *prometheus.Desc)
prometheusmetrics.go:216
Function
TestPrometheusCounterGetUpdated
(t *testing.T)
prometheusmetrics_test.go:60
Function
TestPrometheusGaugeGetUpdated
(t *testing.T)
prometheusmetrics_test.go:78
Function
TestPrometheusHistogramGetUpdated
(t *testing.T)
prometheusmetrics_test.go:137
Function
TestPrometheusMeterGetUpdated
(t *testing.T)
prometheusmetrics_test.go:99
Function
TestPrometheusRegistration
(t *testing.T)
prometheusmetrics_test.go:13
Function
TestPrometheusTimerGetUpdated
(t *testing.T)
prometheusmetrics_test.go:173
Function
TestUpdatePrometheusMetrics
(t *testing.T)
prometheusmetrics_test.go:40
Function
TestUpdatePrometheusMetricsOnce
(t *testing.T)
prometheusmetrics_test.go:21
Method
WithHistogramBuckets
(b []float64)
prometheusmetrics.go:46
Method
WithTimerBuckets
(b []float64)
prometheusmetrics.go:51