canonical / alertmanager-k8s-operator

This charmed operator automates operation procedures of Alertmanager, the alerting component of Prometheus and Loki, among others.
https://charmhub.io/alertmanager-k8s
Apache License 2.0
4 stars 16 forks source link

Set external URL as a Grafana Data Source #224

Open Abuelodelanada opened 5 months ago

Abuelodelanada commented 5 months ago

Enhancement Proposal

Unlike Loki, if the relation between Alertmanager and Traefik is established, Alertmanager set fqdn address instead of the external one as a Grafana Data Source.

image

IbraAoad commented 1 month ago

Adding to the above that when trying out the following scenario (Deploy COS with TLS then remove all TLS relations), Alertmanager data source is still stuck on https

image

I tried this with below revs

App           Version  Status  Scale  Charm                     Channel      Rev  Address         Exposed  Message
alertmanager  0.27.0   active      1  alertmanager-k8s          latest/edge  114  10.152.183.85   no       
ca                     active      1  self-signed-certificates  latest/edge  141  10.152.183.170  no       
catalogue              active      1  catalogue-k8s             latest/edge   39  10.152.183.134  no       
grafana       9.5.3    active      1  grafana-k8s               latest/edge  113  10.152.183.94   no          
traefik       v2.11.0  active      1  traefik-k8s               latest/edge  191  192.168.100.69  no