Profiling server performance using the Stats Logger
The PingDirectory server includes a built-in Stats Logger that is useful for profiling server performance for a given configuration.
At a specified interval, the Stats Logger can write server statistics to a JSON file or to a log file in a .csv
file, which can be read by spreadsheet applications. The logger has a negligible impact on server performance unless the log-interval
property is set to a value of less than 1 second. You can customize the statistics logged and their verbosity.
The Stats Logger can also be used to view historical information about server statistics, including:
-
Replication
-
LDAP operations
-
Host information
-
Gauges
To update the configuration of the existing Stats Logger Plugin, you can either:
-
Set the advanced
gauge-info
property tobasic/extended
to include this information. -
Create a dedicated Periodic Stats Logger for information about statistics of interest.
For information about how to enable this logging and where to find the log file, see Enabling the Stats Logger.