A generic metrics reporter
- Companion:
- object
Value members
Abstract methods
Create a counter
Create a counter
- Value parameters:
- name
the counter's name
- tags
tags associated with this counter
- Returns:
an effect that evaluates to a counter instance
Create a gauge
Create a gauge
- Value parameters:
- name
the gauge's name
- tags
tags associated with this gauge
- Returns:
an effect that evaluates to a gauge instance
Create a distribution summary to track the sample distribution of events. An example would be the response sizes for requests hitting an http server.
Create a distribution summary to track the sample distribution of events. An example would be the response sizes for requests hitting an http server.
- Value parameters:
- baseUnit
Base unit of the eventual distribution summary (eg. bytes).
- name
the summary's name
- percentiles
Produces an additional time series for each requested percentile. This percentile is computed locally, and so can't be aggregated with percentiles computed across other dimensions (e.g. in a different instance).
- tags
tags associated with this summary
- Returns:
an effect that evaluates to a distribution summary instance