Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BatchPinCounter prometheus.Counter
View Source
var MetricsBatchPin = "ff_batchpin_total"
MetricsBatchPin is the prometheus metric for total number of batch pins submitted
Functions ¶
func Clear ¶
func Clear()
Clear will reset the Prometheus metrics registry and instrumentations, useful for testing
func GetAdminServerInstrumentation ¶ added in v0.12.0
func GetAdminServerInstrumentation() *muxprom.Instrumentation
GetAdminServerInstrumentation returns the admin server's Prometheus middleware, ensuring its metrics are never registered twice
func GetRestServerInstrumentation ¶ added in v0.12.0
func GetRestServerInstrumentation() *muxprom.Instrumentation
GetRestServerInstrumentation returns the REST server's Prometheus middleware, ensuring its metrics are never registered twice
func Registry ¶
func Registry() *prometheus.Registry
Registry returns FireFly's customized Prometheus registry
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.