- Sample(String, List<String>, List<String>, double) - Constructor for class io.prometheus.client.Collector.MetricFamilySamples.Sample
-
- samples - Variable in class io.prometheus.client.Collector.MetricFamilySamples
-
- sanitizeMetricName(String) - Static method in class io.prometheus.client.Collector
-
Sanitize metric name
- set(double) - Method in class io.prometheus.client.Gauge.Child
-
Set the gauge to the given value.
- set(double) - Method in class io.prometheus.client.Gauge
-
Set the gauge with no labels to the given value.
- setChild(Child, String...) - Method in class io.prometheus.client.SimpleCollector
-
Replace the Child with the given labels.
- setDuration() - Method in class io.prometheus.client.Gauge.Timer
-
- setToCurrentTime() - Method in class io.prometheus.client.Gauge.Child
-
Set the gauge to the current unixtime.
- setToCurrentTime() - Method in class io.prometheus.client.Gauge
-
Set the gauge with no labels to the current unixtime.
- setToTime(Runnable) - Method in class io.prometheus.client.Gauge.Child
-
Executes runnable code (i.e.
- setToTime(Runnable) - Method in class io.prometheus.client.Gauge
-
Executes runnable code (i.e.
- SimpleCollector<Child> - Class in io.prometheus.client
-
- SimpleCollector(SimpleCollector.Builder) - Constructor for class io.prometheus.client.SimpleCollector
-
- SimpleCollector.Builder<B extends SimpleCollector.Builder<B,C>,C extends SimpleCollector> - Class in io.prometheus.client
-
Builders let you configure and then create collectors.
- SimpleTimer - Class in io.prometheus.client
-
SimpleTimer, to measure elapsed duration in seconds as a double.
- SimpleTimer() - Constructor for class io.prometheus.client.SimpleTimer
-
- startTimer() - Method in class io.prometheus.client.Gauge.Child
-
Start a timer to track a duration.
- startTimer() - Method in class io.prometheus.client.Gauge
-
Start a timer to track a duration, for the gauge with no labels.
- startTimer() - Method in class io.prometheus.client.Histogram.Child
-
Start a timer to track a duration.
- startTimer() - Method in class io.prometheus.client.Histogram
-
Start a timer to track a duration on the histogram with no labels.
- startTimer() - Method in class io.prometheus.client.Summary.Child
-
Start a timer to track a duration.
- startTimer() - Method in class io.prometheus.client.Summary
-
Start a timer to track a duration on the summary with no labels.
- subsystem(String) - Method in class io.prometheus.client.SimpleCollector.Builder
-
Set the subsystem of the metric.
- sum() - Method in class io.prometheus.client.DoubleAdder
-
Returns the current sum.
- sum - Variable in class io.prometheus.client.Histogram.Child.Value
-
- sum - Variable in class io.prometheus.client.Summary.Child.Value
-
- Summary - Class in io.prometheus.client
-
Summary metric, to track the size of events.
- Summary.Builder - Class in io.prometheus.client
-
- Summary.Child - Class in io.prometheus.client
-
The value of a single Summary.
- Summary.Child.Value - Class in io.prometheus.client
-
- Summary.Timer - Class in io.prometheus.client
-
Represents an event being timed.
- SummaryMetricFamily - Class in io.prometheus.client
-
Summary metric family, for custom collectors and exporters.
- SummaryMetricFamily(String, String, double, double) - Constructor for class io.prometheus.client.SummaryMetricFamily
-
- SummaryMetricFamily(String, String, List<String>) - Constructor for class io.prometheus.client.SummaryMetricFamily
-
- SummaryMetricFamily(String, String, List<String>, List<Double>) - Constructor for class io.prometheus.client.SummaryMetricFamily
-
- sumThenReset() - Method in class io.prometheus.client.DoubleAdder
-