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
Grafana is setup with preconfigured dashboards, datasource, and alerting. These will work when prometheus is run in this stack, and is dependent on all the metrics following defined rules.
4
+
5
+
it is advised that any edits or new configs get committed back into your git repository, and stick with grafana provisioning instead of allowing manual edits
6
+
7
+
8
+
## How to add a new dashboard with provisioning
9
+
10
+
- Mount new dashboard files in the `/etc/grafana/provisioning/dashboards/site` directory
11
+
- To remove or change the existing, mount over the existing files there
12
+
13
+
For more info see [Grafana Alerting Provisioning](https://grafana.com/docs/grafana/latest/administration/provisioning/#dashboards)
You can add compeltely custom prometheus scrape configs and recording rules by mounting in docker.
5
+
6
+
7
+
8
+
-`site/prometheus/scrape-configs/*.yml`. This is for advanced configuration. Any yml file put in this directory will be used as standard promethues scrape configs. This will give full flexibility over what metrics are collected and all features in prometheus. Add any further configs that you want prometheus to use.
9
+
10
+
```yaml
11
+
# Custom scrape config definition
12
+
scrape_configs:
13
+
- job_name: custom-scrape-config # Scrape configuration to get metrics from elasticsearch, eg index size.
0 commit comments