In high-demand environments, building comprehensive Grafana dashboards from scratch is a time-consuming and manual process. To streamline the onboarding of new customers and ensure consistent monitoring across deployments, pre-configured JSON dashboard files are provided. These templates allow users to visualize critical metrics instantly without the need for custom query building.
NA
NA
Before importing dashboards, Grafana must be connected to the Prometheus instance that is collecting your metrics.
Navigate to Grafana Home → Connections → Data Sources.
Click Add data source and choose Prometheus.
Configuration Settings:
Name: Set this to prometheus (Note: The pre-configured JSON files typically look for this specific UID/Name).
URL: Enter your Prometheus server URL and Port (e.g., http://localhost:9090).
Scrape Interval: Match this to your Prometheus configuration (e.g., 15s).
HTTP Method: Set to POST to ensure support for large queries.
Click Save & Test. You should receive a confirmation message stating: "Data source is working".
Once the data source is verified, follow these steps to upload the dashboard templates.
Navigate to Grafana Home → Dashboards.
In the top-right corner, click the New dropdown menu (located near the 'Search for dashboard' bar).
Select the Import option.
You can either:
Upload Dashboard JSON file: Click the button to select the provided file from your local machine.
Paste JSON: Open the .json file in a text editor, copy the contents, and paste it into the Import via panel json box.
Select the prometheus data source created in Phase 1 from the dropdown menu.
Click Import.
Summary: Following these steps ensures that new customers can immediately access standardized metrics with zero manual query configuration.