-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Use case / problem
I’m embedding a secured WMS-T service (Delft-FEWS) into Grafana Cloud’s Geomap panel.
Currently the panel only lets me specify:
- A base URL (it auto-appends
?SERVICE=WMS&REQUEST=…
) - A layer picker
- Display options (opacity, legend, attribution)
My WMS endpoint requires either:
- A
token=<static-token>
query parameter on every request, or - HTTP Basic Auth / Bearer token in the
Authorization:
header
Since the panel strips any extra ?…
parameters from the base URL and has no fields for headers, the only workaround is to stand up an external proxy (e.g. Cloudflare Worker) to re-inject the token and CORS headers. That is awkward, brittle, and forces users to host additional infrastructure.
Proposal
Enhance the Geomap WMS panel configuration to support:
-
Custom query parameters
A simple key/value table (e.g.token
→xyz
) that Grafana will append to all WMS calls (GetCapabilities
,GetMap
,GetLegendGraphic
, etc.). -
Custom HTTP headers
Fields forAuthorization
(and any other headers) so secure services can be accessed directly from the browser without CORS-workarounds.