package
0.0.6
Repository: https://github.com/m-pavel/firebolt.git
Documentation: pkg.go.dev

# Functions

Get returns the singleton instance of this metrics manager.
Init instantiates the metrics singleton and registers core metrics.
Node returns the NodeMetrics for the node identified by 'nodeId'.
Source returns the SourceMetrics for the configured source.
StartServer starts the MetricsServer using the passed context to handle shutdown.

# Structs

Metrics holds prometheus collectors for firebolt core, the configured source, and all configured nodes.
NodeMetrics encapsulates the prometheus collectors used by firebolt to record metrics about each node.
Server is the HTTP server for prometheus metrics.
SourceMetrics encapsulates the prometheus collectors used by firebolt to record metrics about the source.