canonical / grafana-k8s-operator

This charmed operator automates the operational procedures of running Grafana, an open-source visualization toolkit, on Kubernetes.
https://charmhub.io/grafana-k8s
Apache License 2.0
6 stars 23 forks source link

Add custom headers to Grafana Datasource #295

Closed lucabello closed 5 months ago

lucabello commented 5 months ago

Enhancement Proposal

Currently, the Grafana Datasource library sets up a new datasource through a URL and port; however, some services (e.g., Mimir) need to pass custom headers as well (e.g., a multitenancy org id: even if not using one, Mimir requires the header to be set to a specific string).

We should add the ability to pass a dictionary of headers to GrafanaSourceProvider.