How to monitor NATS, Queues, and Topics and Events with Scaleway Cockpit
Reviewed on 17 October 2024 • Published on 07 September 2023
You can view metrics for your NATS, Queues, and Topics and Events services via Scaleway Cockpit. This allows you to monitor your queues/streams and messages at a glance. There are two steps to complete to view your metrics for the first time with Cockpit:
- Generate your Grafana credentials
- Access the product’s metrics dashboard
These steps are described below.
Cockpit dashboard updates
Starting April 2024, a new version of Cockpit will be released.
In this version, the concept of regionalization will be introduced to offer you more flexibility and resilience for seamless monitoring. If you have created customized dashboards with data for your Scaleway resources before April 2024, you will need to update your queries in Grafana, with the new regionalized data sources.
To complete the actions presented below, you must have:
Scaleway Cockpit is activated by default if you have created Scaleway resources integrated with Cockpit.
To view your metrics with Cockpit, you will use a Grafana dashboard which is accessible from the Scaleway console. First, you must create a user and their associated credentials (a username and password) for Grafana. This can be done directly from the Scaleway console, by following this procedure.
-
Click NATS, Queues or Topics and Events in the Serverless section of the Scaleway console side menu.
-
Click the protocol you want to view metrics for, and navigate to the Metrics tab.
-
Click Open Grafana metrics dashboard.
-
Enter your Grafana username and password to log in.
You are directed to the dashboard for the product in question, where you can view all your metrics.