Class ExporterFilterProperties
java.lang.Object
io.prometheus.metrics.config.ExporterFilterProperties
Properties starting with io.prometheus.exporter.filter
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(package private) static ExporterFilterPropertiesload(PropertySource propertySource) Note that this will remove entries frompropertySource.
-
Field Details
-
METRIC_NAME_MUST_BE_EQUAL_TO
- See Also:
-
METRIC_NAME_MUST_NOT_BE_EQUAL_TO
- See Also:
-
METRIC_NAME_MUST_START_WITH
- See Also:
-
METRIC_NAME_MUST_NOT_START_WITH
- See Also:
-
PREFIX
- See Also:
-
allowedNames
-
excludedNames
-
allowedPrefixes
-
excludedPrefixes
-
-
Constructor Details
-
ExporterFilterProperties
-
-
Method Details
-
getAllowedMetricNames
-
getExcludedMetricNames
-
getAllowedMetricNamePrefixes
-
getExcludedMetricNamePrefixes
-
load
static ExporterFilterProperties load(PropertySource propertySource) throws PrometheusPropertiesException Note that this will remove entries frompropertySource. This is because we want to know if there are unused properties remaining after all properties have been loaded.- Throws:
PrometheusPropertiesException
-
builder
-