The Monitoring Endpoint configuration type provides the StatsD Endpoint type that you can use to transfer metrics data in the StatsD format.
- Busy worker thread count
- Garbage collection statistics
- Host system metrics such as CPU and memory
You configure the monitoring endpoint using the dsconfig command. When you configure the monitoring endpoint, you include:
-
The endpoint's hostname
-
The endpoint's port
-
A toggle to use TCP or UDP
-
A toggle to use SSL if you use TCP
dsconfig create-monitoring-endpoint \
--type statsd \
--endpoint-name StatsDEndpoint \
--set enabled:true \
--set hostname:localhost \
--set server-port:8125 \
--set connection-type:unencrypted-udp
- Click Show Advanced Configuration.
- In the Logging, Monitoring, and Notifications section, click Monitoring Endpoints.
- Click New Monitoring Endpoint.
You can send data to any number of monitoring endpoints.
The Stats Collector plugin controls the metrics used by the StatsD monitoring endpoint. To send metrics with the StatsD monitoring endpoint, you must enable the Stats Collector plugin. Also, you must configure the Stats Collector plugin to indicate the metrics to send.
dsconfig set-plugin-prop \
--plugin-name "Stats Collector" \
--set enabled:true \
--set host-info:cpu \
--set host-info:disk \
--set status-summary-info:basic
If you are not using Data Metrics Server to monitor your server, you can disable the
generation of some metrics files that are not necessary for the StatsD Monitoring
Endpoint. To do this, set the generate-collector-files
property on the
Stats Collector Plugin to false
.
- Click Show Advanced Configuration.
- In the LDAP (Administration and Monitoring) section, click Plugin Root
- Edit the Stats Collector plugin.
- Use the data with Splunk as explained in Sending StatsD metrics to Splunk.
- Configure other tools that support StatsD, such as CloudWatch or a Prometheus StatsD
exporter, to use the data. For more information about this configuration, see
your tool's StatsD documentation. Configure the PingAuthorize StatsD monitoring endpoint to use
the correct host and port. The
dsconfig create-monitoring-endpoint
example above uses a host of localhost and a port of 8125. You can also set these values in the administrative console.