package
0.0.0-20220620005849-a315113d9162
Repository: https://github.com/mycodeku/transtionhelper.git
Documentation: pkg.go.dev

# Functions

IncrCounter provides a wrapper functionality for emitting a counter metric with global labels (if any).
IncrCounterWithLabels provides a wrapper functionality for emitting a counter metric with global labels (if any) along with the provided labels.
MeasureSince provides a wrapper functionality for emitting a a time measure metric with global labels (if any).
ModuleMeasureSince provides a short hand method for emitting a time measure metric for a module with a given set of keys.
ModuleSetGauge provides a short hand method for emitting a gauge metric for a module with a given set of keys.
New creates a new instance of Metrics.
NewLabel creates a new instance of Label with name and value.
SetGauge provides a wrapper functionality for emitting a gauge metric with global labels (if any).
SetGaugeWithLabels provides a wrapper functionality for emitting a gauge metric with global labels (if any) along with the provided labels.

# Constants

Metrics supported format types.
Metrics supported format types.
Metrics supported format types.
Common metric key constants.
Common metric key constants.
Common metric key constants.

# Structs

Config defines the configuration options for application telemetry.
GatherResponse is the response type of registered metrics.
Metrics defines a wrapper around application telemetry functionality.