---
title: PingDirectory Metrics with Prometheus
description: In the past, enabling metrics for PingDirectory required a manual process to setup the statsd configuration to enable the data to be made available to Prometheus. However, PingDirectory now includes an HTTP servlet extension that can be enabled to expose metrics in Prometheus format.
component: devops
page_id: devops::how-to/prometheus
canonical_url: https://developer.pingidentity.com/devops/how-to/prometheus.html
---

# PingDirectory Metrics with Prometheus

In the past, enabling metrics for PingDirectory required a manual process to setup the **statsd** configuration to enable the data to be made available to Prometheus. However, PingDirectory now includes an HTTP servlet extension that can be enabled to expose metrics in Prometheus format.

You can refer to the [documentation](https://docs.pingidentity.com/pingdirectory/latest/pingdirectory_server_administration_guide/pd_ds_monitor_server_metrics_prometheus.html) for the `dsconfig` commands to enable the Prometheus metrics.

These `dsconfig` commands can be included in a server profile to ensure that the configuration is applied when the server is started. See [here](https://github.com/pingidentity/pingidentity-server-profiles/blob/master/monitoring/pingdirectory/jolokia/pd.profile/dsconfig/15-prometheus.dsconfig) for an example.
