Loading observability/grafana/config.yml +1 −1 Original line number Diff line number Diff line Loading @@ -9,5 +9,5 @@ providers: updateIntervalSeconds: 10 allowUiUpdates: true options: path: /etc/grafana/provisioning/dashboards path: /etc/grafana/dashboards foldersFromFilesStructure: true No newline at end of file observability/grafana/dashboards/dashboard.json +82 −16 Original line number Diff line number Diff line { "id": null, "uid": "example-dashboard", "title": "Example Dashboard", "apiVersion": 1, "providers": [ { "name": "Prometheus dashboard", "orgId": 1, "folder": "PA165", "type": "file", "disableDeletion": true, "updateIntervalSeconds": 10, "allowUiUpdates": true, "options": { "path": "/etc/grafana/dashboards", "foldersFromFilesStructure": true } } ], "dashboards": [ { "title": "Your Dashboard Title", "services": { "filter": { "list": [], "time": { "from": "now-15m", "to": "now" } } }, "rows": [ { "title": "Your Row Title", "height": "300px", "editable": true, "collapse": false, "collapsable": true, "panels": [ { "title": "Panel 1", "title": "Your Panel Title", "span": 6, "type": "graph", "datasource": "Prometheus", "targets": [ { "expr": "up" "expr": "Your_Prometheus_Query_Here", "legendFormat": "{{metric}}", "refId": "A" } ] ], "lines": true, "fill": 1, "linewidth": 1, "points": false, "pointradius": 2, "bars": false, "stack": false, "nullPointMode": "null", "steppedLine": false, "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "xaxis": { "show": true }, "yaxes": [ { "title": "Panel 2", "type": "graph", "targets": [ "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "expr": "node_cpu_seconds_total{mode='idle'}" "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ] } ] } ] } Loading Loading
observability/grafana/config.yml +1 −1 Original line number Diff line number Diff line Loading @@ -9,5 +9,5 @@ providers: updateIntervalSeconds: 10 allowUiUpdates: true options: path: /etc/grafana/provisioning/dashboards path: /etc/grafana/dashboards foldersFromFilesStructure: true No newline at end of file
observability/grafana/dashboards/dashboard.json +82 −16 Original line number Diff line number Diff line { "id": null, "uid": "example-dashboard", "title": "Example Dashboard", "apiVersion": 1, "providers": [ { "name": "Prometheus dashboard", "orgId": 1, "folder": "PA165", "type": "file", "disableDeletion": true, "updateIntervalSeconds": 10, "allowUiUpdates": true, "options": { "path": "/etc/grafana/dashboards", "foldersFromFilesStructure": true } } ], "dashboards": [ { "title": "Your Dashboard Title", "services": { "filter": { "list": [], "time": { "from": "now-15m", "to": "now" } } }, "rows": [ { "title": "Your Row Title", "height": "300px", "editable": true, "collapse": false, "collapsable": true, "panels": [ { "title": "Panel 1", "title": "Your Panel Title", "span": 6, "type": "graph", "datasource": "Prometheus", "targets": [ { "expr": "up" "expr": "Your_Prometheus_Query_Here", "legendFormat": "{{metric}}", "refId": "A" } ] ], "lines": true, "fill": 1, "linewidth": 1, "points": false, "pointradius": 2, "bars": false, "stack": false, "nullPointMode": "null", "steppedLine": false, "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "xaxis": { "show": true }, "yaxes": [ { "title": "Panel 2", "type": "graph", "targets": [ "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "expr": "node_cpu_seconds_total{mode='idle'}" "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ] } ] } ] } Loading