Add custom statistics based on any attribute in any entry under cn=monitor using the Custom Logged Stats object. This configuration object provides powerful controls for how monitor attributes are written to the log. For example, you can extract a value from a monitor attribute using a regular expression. Newly created Custom Logged Stats will automatically be included in the Periodic Stats Logger output.
MonitorProviderinterface and register with the server. The monitor attributes produced by this custom
MonitorProviderare then available to be referenced by a Custom Logged Stats object.
included-resource-statproperty is set to memory-utilization on the Periodic Stats Logger. The column is derived from the
total-bytes-used-by-memory-consumersattribute of the cn=JVM Memory Usage,cn=monitor entry as follows:
dn: cn=JVM Memory Usage,cn=monitor objectClass: top objectClass: ds-monitor-entry objectClass: ds-memory-usage-monitor-entry objectClass: extensibleObject cn: JVM Memory Usage ... total-bytes-used-by-memory-consumers: 3250017037