FloatingPointCounter

A FloatingPointCounter is a cumulative metric that represents a single monotonically increasing FloatingPointCounter whose value can only increase or be reset to zero. For example, you can use a FloatingPointCounter to represent the number of requests served, tasks completed, or errors. FloatingPointCounter is not supported by all metrics backends, however a default implementation is provided which accumulates floating point values and records increments to a standard Counter after crossing integer boundaries.

Metrics.swift:104
final class FloatingPointCounter

This is the user-facing FloatingPointCounter API.

Its behavior depends on the FloatingCounterHandler implementation.