- Companion:
- class
Type members
Classlikes
Core metrics that are updated by the ZIO runtime system.
Core metrics that are updated by the ZIO runtime system.
Value members
Concrete methods
A string histogram metric, which keeps track of the counts of different strings.
A string histogram metric, which keeps track of the counts of different strings.
Creates a metric from a metric key. This is the primary constructor for zio.Metric.
Creates a metric from a metric key. This is the primary constructor for zio.Metric.
A numeric histogram metric, which keeps track of the count of numbers that fall in bins with the specified boundaries.
A numeric histogram metric, which keeps track of the count of numbers that fall in bins with the specified boundaries.
Creates a metric that ignores input and produces constant output.
Creates a metric that ignores input and produces constant output.
Creates a timer metric, based on a histogram, which keeps track of durations in the specified unit of time (milliseconds, seconds, etc.). The unit of time will automatically be added to the metric as a tag ("time_unit: milliseconds").
Creates a timer metric, based on a histogram, which keeps track of durations in the specified unit of time (milliseconds, seconds, etc.). The unit of time will automatically be added to the metric as a tag ("time_unit: milliseconds").