Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Grafana dashboards #1339

Merged
merged 1 commit into from
May 4, 2023
Merged

Update Grafana dashboards #1339

merged 1 commit into from
May 4, 2023

Conversation

Zerpet
Copy link
Collaborator

@Zerpet Zerpet commented Apr 28, 2023

This closes #1334

Note to reviewers: remember to look at the commits in this PR and consider if they can be squashed

Summary Of Changes

Use a perma-link to Grafana Dashboards in rabbitmq-server repo.

Additional Context

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.

Local Testing

N/A - no code changes

Edit: formatting

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 <acedres@vmware.com>
@Zerpet Zerpet self-assigned this Apr 28, 2023
@Zerpet Zerpet requested a review from ansd April 28, 2023 16:57
@Zerpet Zerpet merged commit 2f99095 into main May 4, 2023
13 checks passed
@Zerpet Zerpet deleted the zerpet/update-dashboards branch May 4, 2023 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Grafana dashboard import process is broken with Grafana Helm Chart
1 participant