A writeable Counter.
A writeable Counter. Only sums are kept of Counters. An example Counter is "number of requests served".
Exposes the value of a function.
Exposes the value of a function. For example, one could add a gauge for a computed health metric.
In-memory stats receiver for testing.
A StatsReceiver receiver proxy that translates all counter, stat, and gauge
names according to a translate
function.
A noop StatsReceiver.
A noop StatsReceiver. Metrics are not recorded, making this receiver useful in unit tests and as defaults in situations where metrics are not strictly required.
A RollupStatsReceiver reports stats on multiple Counter/Stat/Gauge based on the sequence of names you pass.
A RollupStatsReceiver reports stats on multiple Counter/Stat/Gauge based on the sequence of names you pass. e.g. counter("errors", "clientErrors", "java_net_ConnectException").incr() will actually increment those three counters: - "/errors" - "/errors/clientErrors" - "/errors/clientErrors/java_net_ConnectException"
An append-only collection of time-series data.
An append-only collection of time-series data. Example Stats are "queue depth" or "query width in a stream of requests".
An interface for recording metrics.
BroadcastCounter is a helper object that create a Counter wrapper around multiple Counters (n).
BroadcastCounter is a helper object that create a Counter wrapper around multiple Counters (n). For performance reason, we have specialized cases if n == (0, 1, 2, 3 or 4)
BroadcastStat is a helper object that create a Counter wrapper around multiple Stats (n).
BroadcastStat is a helper object that create a Counter wrapper around multiple Stats (n). For performance reason, we have specialized cases if n == (0, 1, 2, 3 or 4)
BroadcastStatsReceiver is a helper object that create a StatsReceiver wrapper around multiple StatsReceivers (n).
Stat utility methods for ease of use from java.
Helpers for working with histograms.
Helpers for working with histograms. Java-friendly versions can be found in com.twitter.finagle.stats.JStats.
com.twitter.finagle.stats.StatsReceiver utility methods for ease of use from java.
These stats are scoped to
com.twitter.finagle.stats
for historical reasons.They used to be in the
finagle-core
package, although we moved them because we found they didn't depend on anything finagle-specific. To ease the transition, we kept the namespace.