Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
type Metrics struct {
// contains filtered or unexported fields
}
Metrics holds Prometheus counters and histograms for the engine.
func New ¶
func New() *Metrics
New creates and registers a Metrics instance on an isolated registry, preventing double-registration panics when multiple instances are created (e.g. in tests).
func Noop ¶
func Noop() *Metrics
Noop returns a Metrics instance that does nothing (used when metrics disabled).
Click to show internal directories.
Click to hide internal directories.