Uses of Interface
org.microproxy.stats.Metric
Packages that use Metric
-
Uses of Metric in org.microproxy.stats
Subinterfaces of Metric in org.microproxy.statsModifier and TypeInterfaceDescriptioninterfaceA count that only goes up, such asdownstream_rq_total.interfaceA value that goes up and down, such asdownstream_cx_active.interfaceA distribution of recorded values in fixed buckets, such asdownstream_rq_time: oneLongAdderper bucket, plus the sum and the count of the values, so recording takes no lock and allocates nothing.Methods in org.microproxy.stats that return MetricModifier and TypeMethodDescriptionThe metric namedname, if registered.Methods in org.microproxy.stats that return types with arguments of type MetricModifier and TypeMethodDescriptionStatsRegistry.metrics()Returns the metrics, sorted by flat name.Methods in org.microproxy.stats with parameters of type MetricModifier and TypeMethodDescriptionstatic booleanWhethermetrichas been used, as Envoy'susedonlyasks: a counter or gauge that is not zero, a histogram with values.Method parameters in org.microproxy.stats with type arguments of type MetricModifier and TypeMethodDescriptionstatic StringStatsFormatter.json(StatsRegistry registry, Predicate<? super Metric> include) The metricsincludeaccepts, as Envoy's/stats?format=json(seeStatsFormatter.json(StatsRegistry)).static StringStatsFormatter.prometheus(StatsRegistry registry, Predicate<? super Metric> include) The metricsincludeaccepts, in Prometheus's text exposition format (seeStatsFormatter.prometheus(StatsRegistry)).static StringStatsFormatter.text(StatsRegistry registry, Predicate<? super Metric> include)