NATS JetStream
4,357

Created 7/16/2021
Updated 2/9/2022
Revision 2
Grafana Version >=8.3.4
Datasources
Prometheus

Dashboard to dispaly NATS JetStream metrics from prometheus-nats-exporter (https://github.com/nats-io/prometheus-nats-exporter)

Every effort will be made to keep this version updated for easily importing into Grafana directly, but the source of truth is stored in the Prometheus-nats-exporter repository on GitHub, specifically:
https://github.com/nats-io/prometheus-nats-exporter/blob/main/walkthrough/grafana-jetstream-dash.json


Note for Helm Deployments: When deploying the Prometheus NATS exporter via the standard Helm charts, the metrics prefix is overridden from gnatsd & jetstream to nats. You can either simply do a find & replace for these prefixes and replace them in the dashboard, or use the grafana-jetstream-dash-helm.json file (where this has been done already).dashboard, or use the grafana-jetstream-dash-helm.json file (where this has been done already).


Get Dashboard
Download
Copy to Clipboard
Source Grafana.com

Used Metrics 11

  • gnatsd_varz_jetstream_stats_storage

  • gnatsd_varz_jetstream_config_max_storage

  • gnatsd_varz_jetstream_stats_memory

  • gnatsd_varz_jetstream_config_max_memory

  • gnatsd_varz_connections

  • jetstream_server_total_consumers

  • jetstream_stream_total_bytes

  • jetstream_stream_total_messages

  • jetstream_consumer_num_pending

  • jetstream_consumer_delivered_consumer_seq

  • jetstream_consumer_num_ack_pending