add mongodb dashboard
This commit is contained in:
parent
023ae33b7b
commit
424a85c88f
1504
files/dashboards/mongodb.json
Normal file
1504
files/dashboards/mongodb.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -125,6 +125,16 @@
|
||||
when: prometheus_mysqld_exporter_targets is defined
|
||||
notify: "grafana-prometheus-restart"
|
||||
|
||||
- name: "grafana-prometheus | import grafana mongodb dashboard"
|
||||
copy:
|
||||
src: dashboards/mongodb.json
|
||||
dest: /opt/docker-compose/grafana-prometheus/dashboards/mongodb.json
|
||||
owner: '1000'
|
||||
group: '1000'
|
||||
mode: '0750'
|
||||
when: prometheus_mongodb_exporter_targets is defined
|
||||
notify: "grafana-prometheus-restart"
|
||||
|
||||
- name: "grafana-prometheus | import grafana network dashboard"
|
||||
copy:
|
||||
src: dashboards/network.json
|
||||
|
@ -4,7 +4,7 @@ After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/local/bin/prometheus-mongodb-exporter --compatible-mode --collect-all --discovering-mode
|
||||
ExecStart=/usr/local/bin/prometheus-mongodb-exporter --compatible-mode --collect-all
|
||||
EnvironmentFile=/etc/default/prometheus-mongodb-exporter
|
||||
|
||||
[Install]
|
||||
|
Loading…
x
Reference in New Issue
Block a user