...
Prometheus does not require any additional configuration for NATS scraping, as Prometheus does scrape known metrics by default. Provide the NATS dashboard with the Prometheus data Source we configured at the start.
If the metrics dont display please check your statefulset to make sure that prefix=nats changes to → prefix=gnatsd
...
Dashboard
We use the NATS dashboard with the code : 2279 (https://grafana.com/grafana/dashboards/2279-nats-servers/)
...