Skip to content

Files

Latest commit

 

History

History
 
 

gnatsd

Gnatsd Integration

Overview

Get metrics from Gnatsd service in real time to:

  • Visualize and monitor Gnatsd states
  • Be notified about Gnatsd failovers and events.

Setup

The Gnatsd check is not included in the Datadog Agent package, so you need to install it.

Installation

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.

  1. Run the following command to install the Agent integration:

    datadog-agent integration install -t datadog-gnatsd==<INTEGRATION_VERSION>
  2. Configure your integration similar to core integrations.

Configuration

  1. Edit the gnatsd.d/conf.yaml file in the conf.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.

  2. Restart the Agent

Validation

Run the Agent's status subcommand and look for gnatsd under the Checks section.

Compatibility

The gnatsd check is compatible with all major platforms

Data Collected

Metrics

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

Events

The gnatsd check does not include any events.

Service Checks

See service_checks.json for a list of service checks provided by this integration.

Troubleshooting

Need help? Contact Datadog support.