Package io.prometheus.metrics.config
Class ExporterFilterProperties.Builder
java.lang.Object
io.prometheus.metrics.config.ExporterFilterProperties.Builder
- Enclosing class:
ExporterFilterProperties
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
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.
-
Field Details
-
allowedNames
-
excludedNames
-
allowedPrefixes
-
excludedPrefixes
-
-
Constructor Details
-
Builder
private Builder()
-
-
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
-