zio.zmx.metrics

Type members

Classlikes

trait Counter

A Counter is a metric representing a single numerical value that may be incremented over time. A typical use of this metric would be to track the number of a certain type of request received. With a counter the quantity of interest is the cumulative value over time, as opposed to a gauge where the quantity of interest is the value as of a specific point in time.

A Counter is a metric representing a single numerical value that may be incremented over time. A typical use of this metric would be to track the number of a certain type of request received. With a counter the quantity of interest is the cumulative value over time, as opposed to a gauge where the quantity of interest is the value as of a specific point in time.

Companion:
object
object Counter
Companion:
class
trait Gauge

A Gauge is a metric representing a single numerical value that may be set or adjusted. A typical use of this metric would be to track the current memory usage. With a guage the quantity of interest is the current value, as opposed to a counter where the quantity of interest is the cumulative values over time.

A Gauge is a metric representing a single numerical value that may be set or adjusted. A typical use of this metric would be to track the current memory usage. With a guage the quantity of interest is the current value, as opposed to a counter where the quantity of interest is the cumulative values over time.

Companion:
object
object Gauge
Companion:
class
trait Histogram

A Histogram is a metric representing a collection of numerical with the distribution of the cumulative values over time. A typical use of this metric would be to track the time to serve requests. Histograms allow visualizing not only the value of the quantity being measured but its distribution. Histograms are constructed with user specified boundaries which describe the buckets to aggregate values into.

A Histogram is a metric representing a collection of numerical with the distribution of the cumulative values over time. A typical use of this metric would be to track the time to serve requests. Histograms allow visualizing not only the value of the quantity being measured but its distribution. Histograms are constructed with user specified boundaries which describe the buckets to aggregate values into.

Companion:
object
object Histogram
Companion:
class
trait MetricAspect[-A]

A MetricAspect is able to add collection of metrics to a ZIO effect without changing its environment, error, or value types. Aspects are the idiomatic way of adding collection of metrics to effects.

A MetricAspect is able to add collection of metrics to a ZIO effect without changing its environment, error, or value types. Aspects are the idiomatic way of adding collection of metrics to effects.

Companion:
object
Companion:
class
final implicit class MetricsSyntax[-R, +E, +A](self: ZIO[R, E, A]) extends AnyVal
trait SetCount

A SetCount ia a metric that counts the number of occurences of Strings. The individual values are not known up front. Basically the SetCount is a dynamic set of counters, one counter for each unique word observed.

A SetCount ia a metric that counts the number of occurences of Strings. The individual values are not known up front. Basically the SetCount is a dynamic set of counters, one counter for each unique word observed.

Companion:
object
object SetCount
Companion:
class
trait Summary

A Summary represents a sliding window of a time series along with metrics for certain percentiles of the time series, referred to as quantiles. Quantiles describe specified percentiles of the sliding window that are of interest. For example, if we were using a summary to track the response time for requests over the last hour then we might be interested in the 50th percentile, 90th percentile, 95th percentile, and 99th percentile for response times.

A Summary represents a sliding window of a time series along with metrics for certain percentiles of the time series, referred to as quantiles. Quantiles describe specified percentiles of the sliding window that are of interest. For example, if we were using a summary to track the response time for requests over the last hour then we might be interested in the 50th percentile, 90th percentile, 95th percentile, and 99th percentile for response times.

Companion:
object
object Summary
Companion:
class

Implicits

Implicits

final implicit def MetricsSyntax[R, E, A](self: ZIO[R, E, A]): MetricsSyntax[R, E, A]