Uses of Class
io.prometheus.metrics.model.snapshots.MetricSnapshot
Packages that use MetricSnapshot
-
Uses of MetricSnapshot in io.prometheus.metrics.model.registry
Methods in io.prometheus.metrics.model.registry that return MetricSnapshotModifier and TypeMethodDescriptionCollector.collect()Called when the Prometheus server scrapes metrics.default MetricSnapshotCollector.collect(PrometheusScrapeRequest scrapeRequest) Provides Collector with the details of the request issued by Prometheus to allow multi-target pattern implementation Override to implement request dependent logic to provide MetricSnapshotdefault MetricSnapshotdefault MetricSnapshotCollector.collect(Predicate<String> includedNames, PrometheusScrapeRequest scrapeRequest) LikeCollector.collect(Predicate), but with support for multi-target pattern. -
Uses of MetricSnapshot in io.prometheus.metrics.model.snapshots
Subclasses of MetricSnapshot in io.prometheus.metrics.model.snapshotsModifier and TypeClassDescriptionclassImmutable snapshot of a Counter.final classImmutable snapshot of a Gauge.final classImmutable snapshot of a Histogram.final classImmutable snapshot of an Info metric.final classImmutable snapshot of a StateSet metric.final classImmutable snapshot of a Summary metric.final classImmutable snapshot of an Unknown (Untyped) metric.Methods in io.prometheus.metrics.model.snapshots that return MetricSnapshotModifier and TypeMethodDescriptionabstract MetricSnapshotMetricSnapshot.Builder.build()MetricSnapshots.get(int i) Methods in io.prometheus.metrics.model.snapshots that return types with arguments of type MetricSnapshotMethods in io.prometheus.metrics.model.snapshots with parameters of type MetricSnapshotModifier and TypeMethodDescriptionMetricSnapshots.Builder.metricSnapshot(MetricSnapshot snapshot) Add a metric snapshot.static MetricSnapshotsMetricSnapshots.of(MetricSnapshot... snapshots) Constructors in io.prometheus.metrics.model.snapshots with parameters of type MetricSnapshotConstructor parameters in io.prometheus.metrics.model.snapshots with type arguments of type MetricSnapshotModifierConstructorDescriptionMetricSnapshots(Collection<MetricSnapshot> snapshots) To create MetricSnapshots, you can either call the constructor directly or useMetricSnapshots.builder().