Skip to content

Commit 6f3b537

Browse files
committed
Update Grafana dashboards
Grafana.com is rejecting HTTP requests with basic authentication. Earlier, it used to ignore the basic auth, and simply serve the request. This new behaviour in Grafana API breaks the sidecar import feature of Grafana's Helm Chart. The sidecar from Grafana uses basic authentication in their HTTP request. It then gets a not-authorized response from Grafana API, and dashboard importing fails. GitHub raw URLs ignore the basic auth and simply serve the file as a static element. Related to #1334 Signed-off-by: Aitor Perez Cedres <[email protected]>
1 parent ad59bc7 commit 6f3b537

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

observability/grafana/dashboards/erlang-distribution.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ metadata:
77
grafana_dashboard: "true"
88
data:
99
# https://grafana.com/grafana/dashboards/11352
10-
erlang-distribution-dashboard.json.url: https://grafana.com/api/dashboards/11352/revisions/7/download
10+
erlang-distribution-dashboard.json.url: "https://github.com/rabbitmq/rabbitmq-server/raw/e57c579d1a71b283469defdd0d6d45313e6d6daf/deps/rabbitmq_prometheus/docker/grafana/dashboards/Erlang-Distribution.json"

observability/grafana/dashboards/erlang-distributions-compare.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ metadata:
77
grafana_dashboard: "true"
88
data:
99
# https://grafana.com/grafana/dashboards/10988
10-
erlang-distributions-compare-dashboard.json.url: https://grafana.com/api/dashboards/10988/revisions/11/download
10+
erlang-distributions-compare-dashboard.json.url: "https://github.com/rabbitmq/rabbitmq-server/raw/e57c579d1a71b283469defdd0d6d45313e6d6daf/deps/rabbitmq_prometheus/docker/grafana/dashboards/Erlang-Distributions-Compare.json"

observability/grafana/dashboards/erlang-memory-allocators.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ metadata:
77
grafana_dashboard: "true"
88
data:
99
# https://grafana.com/grafana/dashboards/11350
10-
erlang-memory-allocators-dashboard.json.url: https://grafana.com/api/dashboards/11350/revisions/5/download
10+
erlang-memory-allocators-dashboard.json.url: "https://github.com/rabbitmq/rabbitmq-server/raw/e57c579d1a71b283469defdd0d6d45313e6d6daf/deps/rabbitmq_prometheus/docker/grafana/dashboards/Erlang-Memory-Allocators.json"

observability/grafana/dashboards/rabbitmq-overview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ metadata:
77
grafana_dashboard: "true"
88
data:
99
# https://grafana.com/grafana/dashboards/10991
10-
rabbitmq-overview-dashboard.json.url: https://grafana.com/api/dashboards/10991/revisions/11/download
10+
rabbitmq-overview-dashboard.json.url: "https://github.com/rabbitmq/rabbitmq-server/raw/e57c579d1a71b283469defdd0d6d45313e6d6daf/deps/rabbitmq_prometheus/docker/grafana/dashboards/RabbitMQ-Overview.json"

observability/grafana/dashboards/rabbitmq-queue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ kind: ConfigMap
44
metadata:
55
name: rabbitmq-queue-grafana-dashboard
66
labels:
7-
grafana_dashboard: "1"
7+
grafana_dashboard: "true"
88
data:
99
rabbitmq-queue-grafana-dashboard.json: |-
1010
{

observability/grafana/dashboards/rabbitmq-quorum-queues-raft.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ metadata:
77
grafana_dashboard: "true"
88
data:
99
# https://grafana.com/grafana/dashboards/11340
10-
rabbitmq-quorum-queues-raft-dashboard.json.url: https://grafana.com/api/dashboards/11340/revisions/5/download
10+
rabbitmq-quorum-queues-raft-dashboard.json.url: "https://github.com/rabbitmq/rabbitmq-server/raw/e57c579d1a71b283469defdd0d6d45313e6d6daf/deps/rabbitmq_prometheus/docker/grafana/dashboards/RabbitMQ-Quorum-Queues-Raft.json"

observability/grafana/dashboards/rabbitmq-stream.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ metadata:
77
grafana_dashboard: "true"
88
data:
99
# https://grafana.com/grafana/dashboards/14798
10-
rabbitmq-stream-dashboard.json.url: https://grafana.com/api/dashboards/14798/revisions/9/download
10+
rabbitmq-stream-dashboard.json.url: "https://github.com/rabbitmq/rabbitmq-server/raw/e57c579d1a71b283469defdd0d6d45313e6d6daf/deps/rabbitmq_prometheus/docker/grafana/dashboards/RabbitMQ-Stream.json"

0 commit comments

Comments
 (0)