You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can save dashboard files under /services/grafana/provisioning/dashboards from the project root to
60
-
automatically load them when the container is started.
60
+
automatically load them when the container is started.
61
+
62
+
### Import AST Dashboards into Your Own Grafana Instance
63
+
If you have your own (non-AST) Grafana instance and would like to display AST dashboards from your instance, follow these steps:
64
+
65
+
#### Connect your Grafana instance to the AST Prometheus instance.
66
+
- In the menu bar on the left, click Connections >> Data sources.
67
+
- If this is a new instance of Grafana, the “Add data source” button will appear in the middle of the screen. If this is an existing instance with pre-existing data sources, the button will be in the upper-right corner of the screen and will say “Add new data source”. Either way, click on it.
68
+
- Select Prometheus from the list of data sources. You may have to scroll down or enter “prometheus” in the search bar.
69
+
- Fill in a name (for example, “ast-prometheus”), and the URL/IP address to get to the Prometheus instance. (Unless the port for the AST instance of Prometheus was modified, it will be the default of 9090.)
70
+
- The “Interval behaviour >> Scrape interval” is set to 15s by default. This will work but, if you want to save connections, you can set it to 60s.
71
+
- Click the blue "Save & test" button and ensure you get the message, “Successfully queried the Prometheus API.” at the bottom of the screen.
72
+
73
+
#### Import the Dashboard Configuration
74
+
- Click on “Dashboards” in the menu on the left.
75
+
- Click the blue “New” button in the upper-right and, from the drop-down, select "Import".
76
+
- If you have saved the dashboard you wish to import as a JSON file export, click on "Upload dashboard JSON file" and upload the JSON file you exported. If you just copied the JSON contents, you can paste it in the "Import via dashboard JSON model" box below.
77
+
- Give the dashboard a name (under Name).
78
+
- Under the Prometheus drop-down, select your Prometheus data source.
79
+
- Click Import.
80
+
81
+
You will now see the new dashboard in your own Grafana instance.
0 commit comments