Uses of Class
io.prometheus.metrics.model.snapshots.MetricSnapshots
Package
Description
-
Uses of MetricSnapshots in io.prometheus.metrics.expositionformats
Modifier and TypeMethodDescriptionPrometheusProtobufWriter.toDebugString
(MetricSnapshots metricSnapshots) void
ExpositionFormatWriter.write
(OutputStream out, MetricSnapshots metricSnapshots) Text formats use UTF-8 encoding.void
OpenMetricsTextFormatWriter.write
(OutputStream out, MetricSnapshots metricSnapshots) void
PrometheusProtobufWriter.write
(OutputStream out, MetricSnapshots metricSnapshots) void
PrometheusTextFormatWriter.write
(OutputStream out, MetricSnapshots metricSnapshots) -
Uses of MetricSnapshots in io.prometheus.metrics.instrumentation.caffeine
-
Uses of MetricSnapshots in io.prometheus.metrics.instrumentation.dropwizard5
-
Uses of MetricSnapshots in io.prometheus.metrics.instrumentation.guava
-
Uses of MetricSnapshots in io.prometheus.metrics.model.registry
Modifier and TypeMethodDescriptionMultiCollector.collect()
Called when the Prometheus server scrapes metrics.default MetricSnapshots
MultiCollector.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 MetricSnapshots
LikeMultiCollector.collect()
, but returns only the snapshots whereincludedNames.test(name)
istrue
.default MetricSnapshots
MultiCollector.collect
(Predicate<String> includedNames, PrometheusScrapeRequest scrapeRequest) LikeMultiCollector.collect(Predicate)
, but with support for multi-target pattern.PrometheusRegistry.scrape()
PrometheusRegistry.scrape
(PrometheusScrapeRequest scrapeRequest) PrometheusRegistry.scrape
(Predicate<String> includedNames, PrometheusScrapeRequest scrapeRequest) -
Uses of MetricSnapshots in io.prometheus.metrics.model.snapshots
Modifier and TypeMethodDescriptionMetricSnapshots.Builder.build()
static MetricSnapshots
MetricSnapshots.of
(MetricSnapshot... snapshots) -
Uses of MetricSnapshots in io.prometheus.metrics.simpleclient.bridge