A Finagle HTTP service that exports Metrics (available via MetricsView) in a JSON format.
A Finagle HTTP service that exports Metrics (available via MetricsView) in a JSON format.
This service respects metrics verbosity levels: it doesn't export "debug"
(i.e., Verbosity.Debug) metrics unless they are allowlisted via the comma-separated
verbose
.
A MetricsHistogram that is latched such that a snapshot of
the values are taken every latchPeriod
and that value is returned
for rest of latchPeriod
.
A MetricsHistogram that is latched such that a snapshot of
the values are taken every latchPeriod
and that value is returned
for rest of latchPeriod
. This gives pull based collectors a
simple way to get consistent results.
This is safe to use from multiple threads.
A histogram that supports writing, querying, and resetting.
A histogram that supports writing, querying, and resetting.
This API is too powerful for normal usage, but is useful for implementors.
The standard implementation of StatsReceiver, optimized to be high precision and low overhead.
The standard implementation of StatsReceiver, optimized to be high precision and low overhead.
Note: Histogram is configured to store events in 60 second snapshots. It means that when you add a value, you need to wait at most 20 seconds before this value will be aggregated in the exported metrics.
A snapshot of the state of the underlying stat.
If a histogram has no data collected (its count is 0), it can be beneficial to not export all the histogram details as there will be no interesting data there.
If a histogram has no data collected (its count is 0), it can be
beneficial to not export all the histogram details as there will
be no interesting data there. When this flag is set to false
,
only the count=0
is exported. When true
, all of the details
will be exported.
Denylist of regex, comma-separated.
Denylist of regex, comma-separated. Comma is a reserved character and cannot be used. Used with regexes from statsFilterFile.
See https://www.scala-lang.org/api/current/#scala.util.matching.Regex
Comma-separated denylist of files.
Comma-separated denylist of files. Each file may have multiple filters, separated by new lines. Used with regexes from statsFilter.
See https://www.scala-lang.org/api/current/#scala.util.matching.Regex
A global flag that augments a tunable, Verbose, with a comma-separated allowlist for debug metrics.
A global flag that augments a tunable, Verbose, with a comma-separated allowlist for debug metrics. The tunable, Verbose, has a higher priority if defined.