---
title: Prometheus HTTP Endpoint
description: The Prometheus HTTP Endpoint exposes PingDS's monitoring metrics using Prometheus text format.
component: pingds
version: 8.1
page_id: pingds:configref:objects-prometheus-endpoint
canonical_url: https://docs.pingidentity.com/pingds/8.1/configref/objects-prometheus-endpoint.html
section_ids:
  parent: Parent
  prometheus_http_endpoint_properties: Prometheus HTTP Endpoint properties
  basic_properties: Basic properties
  authorization-mechanism: authorization-mechanism
  base-path: base-path
  enabled: enabled
  excluded-metric-pattern: excluded-metric-pattern
  included-metric-pattern: included-metric-pattern
  legacy-format: legacy-format (DEPRECATED)
  advanced_properties: Advanced properties
  java-class: java-class
---

# Prometheus HTTP Endpoint

The Prometheus HTTP Endpoint exposes PingDS's monitoring metrics using Prometheus text format.

## Parent

The Prometheus HTTP Endpoint object inherits from [HTTP Endpoint](objects-http-endpoint.html).

## Prometheus HTTP Endpoint properties

You can use configuration expressions to set property values at startup time. For details, see [Property value substitution](expressions.html).

| Basic Properties                                                                                                                                                                                                                                     | Advanced Properties       |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- |
| [authorization-mechanism](#authorization-mechanism) [base-path](#base-path) [enabled](#enabled) [excluded-metric-pattern](#excluded-metric-pattern) [included-metric-pattern](#included-metric-pattern) [legacy-format (DEPRECATED)](#legacy-format) | [java-class](#java-class) |

### Basic properties

Use the `--advanced` option to access advanced properties.

### authorization-mechanism

|                         |                                                                                                                                                                                             |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| *Synopsis*              | The HTTP authorization mechanisms supported by this HTTP Endpoint.                                                                                                                          |
| *Default value*         | None                                                                                                                                                                                        |
| *Allowed values*        | The name of an existing [http-authorization-mechanism](objects-http-authorization-mechanism.html).The referenced authorization mechanism must be enabled when the HTTP Endpoint is enabled. |
| *Multi-valued*          | Yes                                                                                                                                                                                         |
| *Required*              | Yes                                                                                                                                                                                         |
| *Admin action required* | None                                                                                                                                                                                        |
| *Advanced*              | No                                                                                                                                                                                          |
| *Read-only*             | No                                                                                                                                                                                          |

### base-path

|                         |                                                                                                                                                  |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| *Synopsis*              | All HTTP requests matching the base path or subordinate to it will be routed to the HTTP endpoint unless a more specific HTTP endpoint is found. |
| *Default value*         | None                                                                                                                                             |
| *Allowed values*        | A string.                                                                                                                                        |
| *Multi-valued*          | No                                                                                                                                               |
| *Required*              | Yes                                                                                                                                              |
| *Admin action required* | None                                                                                                                                             |
| *Advanced*              | No                                                                                                                                               |
| *Read-only*             | Yes                                                                                                                                              |

### enabled

|                         |                                                 |
| ----------------------- | ----------------------------------------------- |
| *Synopsis*              | Indicates whether the HTTP Endpoint is enabled. |
| *Default value*         | None                                            |
| *Allowed values*        | truefalse                                       |
| *Multi-valued*          | No                                              |
| *Required*              | Yes                                             |
| *Admin action required* | None                                            |
| *Advanced*              | No                                              |
| *Read-only*             | No                                              |

### excluded-metric-pattern

|                         |                                                                                                                                                                                                                                                |
| ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| *Synopsis*              | Zero or more regular expressions identifying metrics that should not be published. The metric name prefix must not be included in the filter. Exclusion patterns take precedence over inclusion patterns.                                      |
| *Default value*         | None                                                                                                                                                                                                                                           |
| *Allowed values*        | Any valid regular expression pattern which is supported by the java.util.regex.Pattern class (see <https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/regex/Pattern.html> for documentation about this class for Java 25). |
| *Multi-valued*          | Yes                                                                                                                                                                                                                                            |
| *Required*              | No                                                                                                                                                                                                                                             |
| *Admin action required* | None                                                                                                                                                                                                                                           |
| *Advanced*              | No                                                                                                                                                                                                                                             |
| *Read-only*             | No                                                                                                                                                                                                                                             |

### included-metric-pattern

|                         |                                                                                                                                                                                                                                                |
| ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| *Synopsis*              | Zero or more regular expressions identifying metrics that should be published. The metric name prefix must not be included in the filter. Exclusion patterns take precedence over inclusion patterns.                                          |
| *Default value*         | None                                                                                                                                                                                                                                           |
| *Allowed values*        | Any valid regular expression pattern which is supported by the java.util.regex.Pattern class (see <https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/regex/Pattern.html> for documentation about this class for Java 25). |
| *Multi-valued*          | Yes                                                                                                                                                                                                                                            |
| *Required*              | No                                                                                                                                                                                                                                             |
| *Admin action required* | None                                                                                                                                                                                                                                           |
| *Advanced*              | No                                                                                                                                                                                                                                             |
| *Read-only*             | No                                                                                                                                                                                                                                             |

### legacy-format (DEPRECATED)

|   |                                                                                                                                                                                                                                    |
| - | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   | DEPRECATED for removal since 7.5.0: The legacy format used before 7.5 prevents some third party vendors from consuming the metrics. Alternative: Switch to use the Prometheus compliant output format for better interoperability. |

|                         |                                                                                                                                                                                         |
| ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| *Synopsis*              | Change the output format between one that is compliant with the Prometheus text format and one that is compatible with the (non-compliant) legacy format used before PingDS 7.5.        |
| *Description*           | The legacy format used before PingDS 7.5 is not compliant with the Prometheus text format 0.0.4 and cannot be consumed by some third party tools including the OpenTelemetry Collector. |
| *Default value*         | false                                                                                                                                                                                   |
| *Allowed values*        | truefalse                                                                                                                                                                               |
| *Multi-valued*          | No                                                                                                                                                                                      |
| *Required*              | No                                                                                                                                                                                      |
| *Admin action required* | None                                                                                                                                                                                    |
| *Advanced*              | No                                                                                                                                                                                      |
| *Read-only*             | No                                                                                                                                                                                      |

## Advanced properties

Use the `--advanced` option to access advanced properties.

### java-class

|                         |                                                                                                                 |
| ----------------------- | --------------------------------------------------------------------------------------------------------------- |
| *Synopsis*              | Specifies the fully-qualified name of the Java class that provides the Prometheus HTTP Endpoint implementation. |
| *Default value*         | org.opends.server.protocols.http.PrometheusEndpoint                                                             |
| *Allowed values*        | A Java class that extends or implements:- org.opends.server.api.HttpEndpoint                                    |
| *Multi-valued*          | No                                                                                                              |
| *Required*              | Yes                                                                                                             |
| *Admin action required* | None                                                                                                            |
| *Advanced*              | Yes                                                                                                             |
| *Read-only*             | No                                                                                                              |
