Grafana #4

Merged
Ark74 merged 16 commits from grafana into unstable 2020-07-04 14:20:46 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit ce0b04a7ec - Show all commits

View File

@ -95,13 +95,13 @@ systemctl restart jitsi-videobridge2
curl 'http://admin:admin@localhost:3000/api/datasources' -X \ curl 'http://admin:admin@localhost:3000/api/datasources' -X \
POST -H 'Content-Type: application/json;charset=UTF-8' \ POST -H 'Content-Type: application/json;charset=UTF-8' \
--data-binary \ --data-binary \
'{"name":"InfluxDB","type":"influxdb","url":"http://localhost","access":"proxy","isDefault":true,"database":"jitsi"}' '{"name":"InfluxDB","type":"influxdb","url":"http://localhost:8086","access":"proxy","isDefault":true,"database":"jitsi"}'
# Add Grafana Dashboard # Add Grafana Dashboard
### Please edit grafana_* variables to match your Grafana setup: ### Please edit grafana_* variables to match your Grafana setup:
grafana_host="http://localhost:3000" grafana_host="http://localhost:3000"
grafana_cred="admin:admin" grafana_cred="admin:admin"
grafana_datasource="jitsi" grafana_datasource="InfluxDB"
ds=(11969); ds=(11969);
for d in "${ds[@]}"; do for d in "${ds[@]}"; do
echo -n "Processing $d: " echo -n "Processing $d: "