Get metrics from gnatsd_streaming service in real time to:
- Visualize and monitor gnatsd_streaming states
- Be notified about gnatsd_streaming failovers and events.
To install the Gnatsd_streaming check on your host:
- Download the Datadog Agent.
- Download the
check.py
file for Gnatsd_streaming. - Place it in the Agent's
checks.d
directory. - Rename it to
gnatsd_streaming.py
.
Edit the gnatsd_streaming.yaml
file to point to your server and port, set the masters to monitor
You can change the number of channels returned in a single HTTP request with the pagination
parameter
in the conf.yaml file.
When you run datadog-agent info
you should see something like the following:
Checks
======
gnatsd_streaming
-----------
- instance #0 [OK]
- Collected 39 metrics, 0 events & 7 service checks
The gnatsd_streaming check is compatible with all major platforms
See metadata.csv for a list of metrics provided by this integration.
Nats Streaming Server metrics are tagged with names like "nss-cluster_id"
If you are running Nats Streaming Server in a Fault Tolerant group a Nats Streaming Failover event will be issued
when the status of a Server changes between FT_STANDBY
and FT_ACTIVE
This gnatsd_streaming check tags all service checks it collects with:
server_name:<server_name_in_yaml>
url:<host_in_yaml>
gnatsd_streaming.can_connect
:
Returns CRITICAL
if the Agent fails to receive a 200 from the monitoring endpoint, otherwise returns OK
.
Need help? Contact Datadog support.