Grafana Dashboard Setup Guide
This guide will help you configure the provided Grafana dashboard JSON files to work with your Prometheus datasource.
Prerequisites
- Grafana instance with Prometheus datasource configured
- Access to your Prometheus instance
- DynamoAI version 3.24 or later (metrics are only available from version 3.24)
- The dashboard JSON files provided
Step 1: Find Your Prometheus Datasource UID
- Log into your Grafana instance
- Copy UID of the datasource (it's usually a short alphanumeric string like
abc123xyz) - you'll need it in the next step
Step 2: Replace the Datasource UID in Dashboard JSON Files
The dashboard JSON files contain a placeholder datasource UID (DATASOURCE_UID_PLACEHOLDER) that needs to be replaced with your Prometheus datasource UID.
Step 3: Import the Dashboard
- In Grafana, navigate to Dashboards → Import
- Click Upload JSON file or paste the JSON content
- Select the modified dashboard JSON file
- In the import screen:
- Name: Keep the default or customize
- Folder: Choose where to save the dashboard
- Unique identifier (uid): You can keep the default or change it
- Click Import
Step 4: Verify the Dashboard
After importing:
- Check that all panels are loading data
- If you see "No data" errors:
- Verify your Prometheus datasource is working (test in Explore)
- Check that the metric names match
- Verify label selectors match your Prometheus labels
- Test the dashboard variables (if any) to ensure they work correctly
Troubleshooting
"Datasource not found" errors
- Verify you replaced all occurrences of
DATASOURCE_UID_PLACEHOLDER - Check that your Prometheus datasource UID is correct
- Ensure the datasource is accessible in Grafana
"No data" in panels
- Verify the metric names exist in your Prometheus instance
- Check that label selectors match your data
- Test queries directly in Grafana Explore to see what data is available
- Ensure you're running DynamoAI version 3.24 or later
Quick Reference: What to Replace
| Item | Find | Replace With |
|---|---|---|
| Datasource UID | DATASOURCE_UID_PLACEHOLDER | Your actual Prometheus datasource UID |
Summary
- Download the dashboard JSON files from the Visualization Overview page
- Find your Prometheus datasource UID in Grafana (Configuration → Data Sources)
- Replace all occurrences of
DATASOURCE_UID_PLACEHOLDERwith your actual UID - Import the modified JSON file into Grafana
- Verify that panels are displaying data correctly
Note: These dashboards require DynamoAI version 3.24 or later to display metrics.