From 0fede0c0cb8205d76e51d36d9050bf611814d179 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Mon, 27 Jan 2025 15:00:53 -0800 Subject: [PATCH] Proxy Grafyaml requests to Graphite With newer Grafana we're seeing that any dashboards using queries to graphite fail with CORS Missing Allowed Origin errors. Attempt to workaround this by having grafana proxy requests to graphite rather than have the browser make them directly. This will affect all graphite requests and not just the problematic query requests but this should be ok. Change-Id: If591ad9b3a34b1bf4d082f609e5c45c24ebd5dc9 --- grafana/datasource.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/grafana/datasource.yaml b/grafana/datasource.yaml index a58eb44524..e1993dd6db 100644 --- a/grafana/datasource.yaml +++ b/grafana/datasource.yaml @@ -2,3 +2,4 @@ datasource: name: OpenStack isDefault: True url: https://graphite.opendev.org + access: proxy