Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
$ git clone https://github.com/nats-io/nats-surveyor.git $ cd nats-surveyor/docker-compose $ ./survey.sh "nats://$(ipconfig getifaddr en0):4000" 9 ../../nats-local-supercluster/auth/nkeys/creds/myoperator/SYS/SYS.creds [+] Running 3/0 ⠿ Container nats-surveyor Created 0.0s ⠿ Container prometheus Created 0.0s ⠿ Container grafana Created 0.0s Attaching to grafana, nats-surveyor, prometheus ...
In this article, we’ll set up nats-surveyor for advanced monitoring of our NATS servers through Prometheus and Grafana.
$ git clone https://github.com/ColinSullivan1/nats-local-supercluster.git $ cd nats-local-supercluster $ ./start_supercluster.sh
It’s really powerful as we can now just connect the data generated for Prometheus and setup dashboards on observability platforms like Grafana.
Now we should be able to go to Grafana running on [localhost:3000/dashboards](http://localhost:3000/dashboards) and see all the available monitoring dashboards.