Today we are announcing the introduction of Prometheus with Dgraph cloud. For a long time, users have been asking to expose Dgraph metrics over their cloud instances and now all dedicated users can upgrade their backends to enable Prometheus under Modify/launch Backend option.
Available configurations are 1C (1 vCPU 4GB RAM), 2C, 4C, and 8C.
- A new endpoint called
/prometheusis available for all the dedicated backends with Prometheus enabled.
Please note, this endpoint is protected with the admin role API key. For example, for a backend say
https://sudomain.region.cloud-provider.cloud.dgraph.io/graphql, prometheus endpoint would be
Once you click the url, you will be asked to add the admin api key. Something like this
Once you enter the api key click submit and you will see the prometheus dashboard.
You need to perform three actions:
- Add the prometheus Url as the source URL.
- Select the access type to Server.
- Add the header
X-Auth-Tokenwith value as the admin API Key.
It will look something like this
I hope this feature will help you to monitor your backend in a more efficient manner. Please provide your feedback if you face any issues.