NATS JetStream 4,3574,357
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).
Used Metrics 1111
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