Module io.prometheus.metrics.config
Package io.prometheus.metrics.config
Class ExporterFilterProperties.Builder
java.lang.Object
io.prometheus.metrics.config.ExporterFilterProperties.Builder
- Enclosing class:
- ExporterFilterProperties
-
Method Summary
Modifier and TypeMethodDescriptionallowedNames(String... allowedNames) Only allowed metric names will be exposed.allowedPrefixes(String... allowedPrefixes) Only metrics with a name starting with an allowed prefix will be exposed.build()excludedNames(String... excludedNames) Excluded metric names will not be exposed.excludedPrefixes(String... excludedPrefixes) Metrics with a name starting with an excluded prefix will not be exposed.
-
Method Details
-
allowedNames
Only allowed metric names will be exposed. -
excludedNames
Excluded metric names will not be exposed. -
allowedPrefixes
Only metrics with a name starting with an allowed prefix will be exposed. -
excludedPrefixes
Metrics with a name starting with an excluded prefix will not be exposed. -
build
-