A counter, which can be incremented by longs.
A counter, which can be incremented by doubles.
A counter, which can be incremented by integers.
A string histogram metric, which keeps track of the counts of different strings.
Creates a metric from a metric key.
Creates a metric from a metric key. This is the primary constructor for zio.Metric.
A gauge, which can be set to a value.
A numeric histogram metric, which keeps track of the count of numbers that fall in bins with the specified boundaries.
Core metrics that are updated by the ZIO runtime system.
Creates a metric that ignores input and produces constant output.
A summary metric.
Creates a timer metric, based on a histogram, which keeps track of durations in the specified unit of time (milliseconds, seconds, etc.).
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").