Skip to content

Commit 48c89eb

Browse files
author
ewoud ketele
committed
docs: Add documentation for the Grafana demo dashboard
1 parent 667b647 commit 48c89eb

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

dashboards/GrafanaDemo/README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Grafana Demo
2+
3+
## Data sources used
4+
- MySQL Accounting database for DIRAC certification
5+
- ElasticSearch cluster for DIRAC certification
6+
7+
## What plots does the dashboard contain?
8+
- Production Jobs By Final Minor Status
9+
- User Jobs By Final Minor Status
10+
- Job CPU Efficiency By Job Type
11+
- User Jobs By Job Type
12+
- User Jobs By Final Minor Stattus
13+
- Pilots By Status
14+
15+
## How to import this dashboard into another Grafana installation?
16+
- Create Grafana data sources for the MySQL database and ElasticSearch cluster (both the DIRAC certification versions).
17+
- Create a new dashboard and in 'Dashboard settings' under 'JSON model' replace the JSON representation of the dashboard with this one.
18+
- In the JSON file, replace the datasource uid's with the ones for the data sources in your grafana installation. You can find the UID of a data source:
19+
- with the [API](https://grafana.com/docs/grafana/latest/developers/http_api/data_source/)
20+
- by creating a new visualisation using this data source and looking into the JSON model of the visualisation (right click the title > Inspect > Panel JSON)
21+
22+
```
23+
"datasource": {
24+
"type": "mysql",
25+
"uid": "R3A-SHw7z" <- CHANGE THIS VALUE TO THE ONE FOR YOUR INSTALLATION
26+
},
27+
```

0 commit comments

Comments
 (0)