This folder contains all the necessary configuration files to set up a Grafana dashboard for monitoring your Quicknode RPC infrastructure using Prometheus. This example is part of the How to Build a Grafana Dashboard to Monitor Your RPC Infrastructure guide, which walks you through setting up a real-time monitoring system.
-
Docker Desktop: Ensure you have Docker Desktop installed and running. This setup uses Docker to launch Prometheus and Grafana easily.
-
Quicknode Account and API Key: Make sure you have an API key with appropriate permissions (
CONSOLE_REST).
- Clone this repository:
git clone https://github.com/quiknode-labs/qn-guide-examples.git- Navigate to the
grafana-dashboardfolder:
cd qn-guide-examples/admin-api/grafana-dashboard-
Update the
prometheus.yamlfile in theprometheusfolder with your Quicknode API key. -
Launch Prometheus and Grafana using Docker Compose:
docker-compose up- Access Grafana by navigating to http://localhost:3000 in your web browser.
For more detailed instructions, please refer to the guide: How to Build a Grafana Dashboard to Monitor Your RPC Infrastructure.