Get metrics from Gnatsd service in real time to:
- Visualize and monitor Gnatsd states
- Be notified about Gnatsd failovers and events.
The Gnatsd check is not included in the Datadog Agent package, so you need to install it.
For Agent v7.21+ / v6.21+, follow the instructions below to install the Gnatsd check on your host. See Use Community Integrations to install with the Docker Agent or earlier versions of the Agent.
-
Run the following command to install the Agent integration:
datadog-agent integration install -t datadog-gnatsd==<INTEGRATION_VERSION>
-
Configure your integration similar to core integrations.
-
Edit the
gnatsd.d/conf.yaml
file in theconf.d/
folder at the root of your Agent's configuration directory to start collecting your Gnatsd metrics. See the sample gnatsd.d/conf.yaml for all available configuration options.
Run the Agent's status subcommand and look for gnatsd
under the Checks section.
The gnatsd check is compatible with all major platforms
See metadata.csv for a list of metrics provided by this integration.
Note: If you use custom Nats cluster names, your metrics may look like this:
gnatsd.connz.connections.cluster_name.in_msgs
The gnatsd check does not include any events.
See service_checks.json for a list of service checks provided by this integration.
Need help? Contact Datadog support.