Uses of Class
io.prometheus.metrics.model.snapshots.MetricSnapshots
Packages that use MetricSnapshots
Package
Description
-
Uses of MetricSnapshots in io.prometheus.metrics.expositionformats
Methods in io.prometheus.metrics.expositionformats with parameters of type MetricSnapshotsModifier and TypeMethodDescriptiondefault String
ExpositionFormatWriter.toDebugString
(MetricSnapshots metricSnapshots) PrometheusProtobufWriter.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.expositionformats.internal
Methods in io.prometheus.metrics.expositionformats.internal with parameters of type MetricSnapshotsModifier and TypeMethodDescriptionPrometheusProtobufWriterImpl.toDebugString
(MetricSnapshots metricSnapshots) void
PrometheusProtobufWriterImpl.write
(OutputStream out, MetricSnapshots metricSnapshots) -
Uses of MetricSnapshots in io.prometheus.metrics.instrumentation.caffeine
Methods in io.prometheus.metrics.instrumentation.caffeine that return MetricSnapshots -
Uses of MetricSnapshots in io.prometheus.metrics.instrumentation.dropwizard
Methods in io.prometheus.metrics.instrumentation.dropwizard that return MetricSnapshots -
Uses of MetricSnapshots in io.prometheus.metrics.instrumentation.dropwizard5
Methods in io.prometheus.metrics.instrumentation.dropwizard5 that return MetricSnapshots -
Uses of MetricSnapshots in io.prometheus.metrics.instrumentation.guava
Methods in io.prometheus.metrics.instrumentation.guava that return MetricSnapshots -
Uses of MetricSnapshots in io.prometheus.metrics.model.registry
Methods in io.prometheus.metrics.model.registry that return MetricSnapshotsModifier 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
Methods in io.prometheus.metrics.model.snapshots that return MetricSnapshotsModifier and TypeMethodDescriptionMetricSnapshots.Builder.build()
static MetricSnapshots
MetricSnapshots.of
(MetricSnapshot... snapshots) -
Uses of MetricSnapshots in io.prometheus.metrics.simpleclient.bridge
Methods in io.prometheus.metrics.simpleclient.bridge that return MetricSnapshots