-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add prometheus page to how-to (#542)
* add prometheus page to how-to * add link to server profile example
- Loading branch information
1 parent
3524795
commit ef109b9
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: PingDirectory Metrics with Prometheus | ||
--- | ||
# Enabling 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/r/en-us/pingdirectory-92/pd_ds_monitor_server_metrics_prometheus) for the `dsconfig` commands to enable the Prometheus metrics. The link above is for PingDirectory 9.2, but the process is the same for newer versions. | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters