public interface PrometheusEndpointCfgClient extends HttpEndpointCfgClient
The Prometheus HTTP Endpoint exposes OpenDJ's monitoring metrics using Prometheus text format.
Modifier and Type | Method and Description |
---|---|
ManagedObjectDefinition<? extends PrometheusEndpointCfgClient,? extends PrometheusEndpointCfg> |
definition()
Get the configuration definition associated with this Prometheus HTTP Endpoint.
|
SortedSet<ValueOrExpression<String>> |
getExcludedMetricPattern()
Gets the "excluded-metric-pattern" property.
|
SortedSet<ValueOrExpression<String>> |
getIncludedMetricPattern()
Gets the "included-metric-pattern" property.
|
ValueOrExpression<String> |
getJavaClass()
Gets the "java-class" property.
|
void |
setExcludedMetricPattern(Collection<ValueOrExpression<String>> values)
Sets the "excluded-metric-pattern" property.
|
void |
setIncludedMetricPattern(Collection<ValueOrExpression<String>> values)
Sets the "included-metric-pattern" property.
|
void |
setJavaClass(ValueOrExpression<String> value)
Sets the "java-class" property.
|
getAuthorizationMechanism, getBasePath, isEnabled, setAuthorizationMechanism, setBasePath, setEnabled
commit, properties
ManagedObjectDefinition<? extends PrometheusEndpointCfgClient,? extends PrometheusEndpointCfg> definition()
definition
in interface ConfigurationClient
definition
in interface HttpEndpointCfgClient
SortedSet<ValueOrExpression<String>> getExcludedMetricPattern()
Zero or more regular expressions identifying metrics that should not be published to the Graphite server. The metric name prefix must not be included in the filter. Exclusion patterns take precedence over inclusion patterns.
void setExcludedMetricPattern(Collection<ValueOrExpression<String>> values) throws PropertyException
Zero or more regular expressions identifying metrics that should not be published to the Graphite server. The metric name prefix must not be included in the filter. Exclusion patterns take precedence over inclusion patterns.
values
- The values of the "excluded-metric-pattern" property.PropertyException
- If one or more of the new values are invalid.SortedSet<ValueOrExpression<String>> getIncludedMetricPattern()
Zero or more regular expressions identifying metrics that should be published to the Graphite server. The metric name prefix must not be included in the filter. Exclusion patterns take precedence over inclusion patterns.
void setIncludedMetricPattern(Collection<ValueOrExpression<String>> values) throws PropertyException
Zero or more regular expressions identifying metrics that should be published to the Graphite server. The metric name prefix must not be included in the filter. Exclusion patterns take precedence over inclusion patterns.
values
- The values of the "included-metric-pattern" property.PropertyException
- If one or more of the new values are invalid.ValueOrExpression<String> getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Prometheus HTTP Endpoint implementation.
getJavaClass
in interface HttpEndpointCfgClient
void setJavaClass(ValueOrExpression<String> value) throws PropertyException
Specifies the fully-qualified name of the Java class that provides the Prometheus HTTP Endpoint implementation.
setJavaClass
in interface HttpEndpointCfgClient
value
- The value of the "java-class" property.PropertyException
- If the new value is invalid.Copyright 2010-2018 ForgeRock AS.