makeFloatingPointCounter(label:dimensions:)
Create a default backing FloatingPointCounterHandler
for backends which do not naively support floating point counters.
func makeFloatingPointCounter(label: String, dimensions: [(String, String)]) -> FloatingPointCounterHandler
Parameters
- label
The label for the
FloatingPointCounterHandler
.- dimensions
The dimensions for the
FloatingPointCounterHandler
.
The created FloatingPointCounterHandler is a wrapper around a backend’s CounterHandler which accumulates floating point values and records increments to an underlying CounterHandler after crossing integer boundaries.