Data source: Changing Loki server URL does not change TLS serverName #83844
Labels
datasource/Loki
needs investigation
for unconfirmed bugs. use type/bug for confirmed bugs, even if they "need" more investigating
type/bug
What happened?
I created a data source with URL
https://loki:3100
, enabled TLS validation with a custom CA certificate. It worked.Later, I change the URL to
https://loki2:3100
. However every panel fails with a TLS error:Looking into the Grafana database, I can see that
url
correctly changed tohttps://loki2:3100
, howeverjson_data
contains"serverName":"loki"
. It has not been updated, expected the new location to use the old server name, and validation fails every time.What did you expect to happen?
Updating the URL of a Loki data source is possible.
Did this work before?
I haven't tried another Grafana version. It worked before I updated the data source obviously.
How do we reproduce it?
Is the bug inside a dashboard panel?
no
Environment (with versions)?
Grafana: 10.3.3
Grafana platform?
Docker
Datasource(s)?
Loki
The text was updated successfully, but these errors were encountered: