Reducing PingDataMetrics server impact on performance
All Ping Identity servers expose performance data through the cn=monitor distinguished name (DN).
About this task
Performance issues occur when data is read, either directly by an LDAP client, or by enabling either the Stats Logger or Stats Collector plugins.
The Stats Logger plugin reads the configured monitors and writes the resulting values to a .csv file. The Stats Collector plugin also reads the configured monitors and writes the resulting values to a .csv file, but this file is made available for LDAP clients in cn=metrics DN. The Stats Collector .csv files are suitable for use by the PingDataMetrics server, and contain one metric value per line.
The Stats Logger and the Stats Collector plugins are both disabled by default. When enabled, each of these plugins adds an approximate 3% CPU utilization penalty, plus a negligible amount of disk I/O and Java virtual machine (JVM) heap usage.
Steps
-
To enable the Stats Collector plugin, run the following
dsconfigcommand:$ bin/dsconfig set-plugin-prop --plugin-name "Stats Collector" \ --set enabled:trueResult:
The
monitored-serverstool enables the Stats Collector plugin on the monitored server.