How to monitor NATS, Queues, and Topics and Events with Scaleway Cockpit
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.
Before you start
To complete the actions presented below, you must have:
- A Scaleway account logged into the console
- Owner status or IAM permissions allowing you to perform actions in the intended Organization
- At least one NATS account, queue, or topic
How to activate your Cockpit
Scaleway Cockpit is activated by default if you have created Scaleway resources integrated with Cockpit.
How to generate Grafana credentials
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.
How to access your NATS, Queues, or Topics and Events dashboard and view your metrics
-
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.