Uses of Interface
io.prometheus.client.Predicate
Packages that use Predicate
Package
Description
-
Uses of Predicate in io.prometheus.client
Classes in io.prometheus.client that implement PredicateModifier and TypeClassDescriptionclassFilter samples (i.e.private static classFields in io.prometheus.client declared as PredicateModifier and TypeFieldDescriptionSampleNameFilter.ALLOW_ALLFor convenience, a filter that allows all names.CollectorRegistry.MetricFamilySamplesEnumeration.sampleNameFilterMethods in io.prometheus.client that return PredicateModifier and TypeMethodDescriptionReplacement for Java 8'sPredicate.and()for compatibility with Java versions < 8.SampleNameFilter.restrictToNamesEqualTo(Predicate<String> filter, Collection<String> allowedNames) Helper method to compose a filter such that Sample names must match the existing filter and be in the list of allowedNames This should be used to implement thenames[]query parameter in HTTP exporters.Methods in io.prometheus.client with parameters of type PredicateModifier and TypeMethodDescriptionReplacement for Java 8'sPredicate.and()for compatibility with Java versions < 8.LikeCollector.collect(), but the result should only containMetricFamilySampleswheresampleNameFilter.test(name)istruefor at least one Sample name.CollectorRegistry.filteredMetricFamilySamples(Predicate<String> sampleNameFilter) Enumeration of metrics wheresampleNameFilter.test(name)returnstruefor eachnameinCollector.MetricFamilySamples.getNames().SampleNameFilter.restrictToNamesEqualTo(Predicate<String> filter, Collection<String> allowedNames) Helper method to compose a filter such that Sample names must match the existing filter and be in the list of allowedNames This should be used to implement thenames[]query parameter in HTTP exporters.Constructors in io.prometheus.client with parameters of type PredicateModifierConstructorDescription(package private)MetricFamilySamplesEnumeration(Predicate<String> sampleNameFilter) -
Uses of Predicate in io.prometheus.client.exporter
Fields in io.prometheus.client.exporter declared as PredicateModifier and TypeFieldDescriptionHTTPServer.Builder.sampleNameFilterSampleNameFilterSupplier.sampleNameFilterFields in io.prometheus.client.exporter with type parameters of type PredicateModifier and TypeFieldDescriptionHTTPServer.Builder.sampleNameFilterSupplierHTTPServer.HTTPMetricHandler.sampleNameFilterSupplierMethods in io.prometheus.client.exporter that return PredicateMethods in io.prometheus.client.exporter with parameters of type PredicateModifier and TypeMethodDescriptionstatic SampleNameFilterSupplierHTTPServer.Builder.withSampleNameFilter(Predicate<String> sampleNameFilter) Optional: Only export time series wheresampleNameFilter.test(name)returns true.Method parameters in io.prometheus.client.exporter with type arguments of type PredicateModifier and TypeMethodDescriptionHTTPServer.Builder.withSampleNameFilterSupplier(Supplier<Predicate<String>> sampleNameFilterSupplier) Optional: Only export time series wheresampleNameFilter.test(name)returns true.Constructors in io.prometheus.client.exporter with parameters of type PredicateModifierConstructorDescriptionMetricsServlet(CollectorRegistry registry, Predicate<String> sampleNameFilter) MetricsServlet(Predicate<String> sampleNameFilter) privateSampleNameFilterSupplier(Predicate<String> sampleNameFilter) Constructor parameters in io.prometheus.client.exporter with type arguments of type PredicateModifierConstructorDescriptionHTTPMetricHandler(CollectorRegistry registry, Supplier<Predicate<String>> sampleNameFilterSupplier) privateHTTPServer(ExecutorService executorService, HttpServer httpServer, CollectorRegistry registry, boolean daemon, Supplier<Predicate<String>> sampleNameFilterSupplier, Authenticator authenticator) -
Uses of Predicate in io.prometheus.client.hotspot
Methods in io.prometheus.client.hotspot with parameters of type PredicateModifier and TypeMethodDescription(package private) voidClassLoadingExports.addClassLoadingMetrics(List<Collector.MetricFamilySamples> sampleFamilies, Predicate<String> nameFilter) (package private) voidMemoryPoolsExports.addMemoryAreaMetrics(List<Collector.MetricFamilySamples> sampleFamilies, Predicate<String> nameFilter) (package private) voidMemoryPoolsExports.addMemoryPoolMetrics(List<Collector.MetricFamilySamples> sampleFamilies, Predicate<String> nameFilter) (package private) voidThreadExports.addThreadMetrics(List<Collector.MetricFamilySamples> sampleFamilies, Predicate<String> nameFilter) -
Uses of Predicate in io.prometheus.client.servlet.common.exporter
Fields in io.prometheus.client.servlet.common.exporter declared as PredicateConstructors in io.prometheus.client.servlet.common.exporter with parameters of type PredicateModifierConstructorDescriptionExporter(CollectorRegistry registry, Predicate<String> sampleNameFilter) Construct a MetricsServlet for the given registry. -
Uses of Predicate in io.prometheus.client.servlet.jakarta.exporter
Constructors in io.prometheus.client.servlet.jakarta.exporter with parameters of type PredicateModifierConstructorDescriptionMetricsServlet(CollectorRegistry registry, Predicate<String> sampleNameFilter) MetricsServlet(Predicate<String> sampleNameFilter)