File tree Expand file tree Collapse file tree 3 files changed +23
-0
lines changed
example_cluster/grafana/provisioning/dashboards Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,13 @@ services:
7979 - 3000:3000
8080 volumes :
8181 - ./example_cluster/grafana/provisioning:/etc/grafana/provisioning
82+ # Map to different folders to prevent name collision.
83+ - ./tests/Prometheus/dashboard_tdg_compiled.json:/usr/lib/dashboards/Prometheus-common/dashboard.json
84+ - ./tests/Prometheus/dashboard_tdg_static_compiled.json:/usr/lib/dashboards/Prometheus-static/dashboard.json
85+ - ./tests/Prometheus/dashboard_tdg_static_with_instance_variable_compiled.json:/usr/lib/dashboards/Prometheus-static-var/dashboard.json
86+ - ./tests/InfluxDB/dashboard_tdg_compiled.json:/usr/lib/dashboards/InfluxDB-common/dashboard.json
87+ - ./tests/InfluxDB/dashboard_tdg_static_compiled.json:/usr/lib/dashboards/InfluxDB-static/dashboard.json
88+ - ./tests/InfluxDB/dashboard_tdg_static_with_instance_variable_compiled.json:/usr/lib/dashboards/InfluxDB-static-var/dashboard.json
8289
8390networks :
8491 tarantool_dashboard_dev :
Original file line number Diff line number Diff line change @@ -72,6 +72,13 @@ services:
7272 - 3000:3000
7373 volumes :
7474 - ./example_cluster/grafana/provisioning:/etc/grafana/provisioning
75+ # Map to different folders to prevent name collision.
76+ - ./tests/Prometheus/dashboard_compiled.json:/usr/lib/dashboards/Prometheus-common/dashboard.json
77+ - ./tests/Prometheus/dashboard_static_compiled.json:/usr/lib/dashboards/Prometheus-static/dashboard.json
78+ - ./tests/Prometheus/dashboard_static_with_instance_variable_compiled.json:/usr/lib/dashboards/Prometheus-static-var/dashboard.json
79+ - ./tests/InfluxDB/dashboard_compiled.json:/usr/lib/dashboards/InfluxDB-common/dashboard.json
80+ - ./tests/InfluxDB/dashboard_static_compiled.json:/usr/lib/dashboards/InfluxDB-static/dashboard.json
81+ - ./tests/InfluxDB/dashboard_static_with_instance_variable_compiled.json:/usr/lib/dashboards/InfluxDB-static-var/dashboard.json
7582
7683networks :
7784 tarantool_dashboard_dev :
Original file line number Diff line number Diff line change 1+ apiVersion : 1
2+
3+ providers :
4+ - name : ' My dashboards'
5+ updateIntervalSeconds : 100000
6+ allowUiUpdates : true
7+ options :
8+ path : /usr/lib/dashboards
9+ foldersFromFilesStructure : true
You can’t perform that action at this time.
0 commit comments