public interface PrometheusEndpointCfg extends HttpEndpointCfg
The Prometheus HTTP Endpoint exposes OpenDJ's monitoring metrics using Prometheus text format.
Modifier and Type | Method and Description |
---|---|
void |
addPrometheusEndpointChangeListener(ConfigurationChangeListener<PrometheusEndpointCfg> listener)
Register to be notified when this Prometheus HTTP Endpoint is changed.
|
Class<? extends PrometheusEndpointCfg> |
configurationClass()
Gets the configuration class associated with this Prometheus HTTP Endpoint.
|
SortedSet<String> |
getExcludedMetricPattern()
Gets the "excluded-metric-pattern" property.
|
SortedSet<String> |
getIncludedMetricPattern()
Gets the "included-metric-pattern" property.
|
String |
getJavaClass()
Gets the "java-class" property.
|
void |
removePrometheusEndpointChangeListener(ConfigurationChangeListener<PrometheusEndpointCfg> listener)
Deregister an existing Prometheus HTTP Endpoint configuration change listener.
|
addChangeListener, getAuthorizationMechanism, getAuthorizationMechanismDns, getBasePath, isEnabled, removeChangeListener
dn, name
Class<? extends PrometheusEndpointCfg> configurationClass()
configurationClass
in interface Configuration
configurationClass
in interface HttpEndpointCfg
void addPrometheusEndpointChangeListener(ConfigurationChangeListener<PrometheusEndpointCfg> listener)
listener
- The Prometheus HTTP Endpoint configuration change listener.void removePrometheusEndpointChangeListener(ConfigurationChangeListener<PrometheusEndpointCfg> listener)
listener
- The Prometheus HTTP Endpoint configuration change listener.SortedSet<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.
SortedSet<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.
String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Prometheus HTTP Endpoint implementation.
getJavaClass
in interface HttpEndpointCfg
Copyright 2010-2018 ForgeRock AS.