Grafana Setting for updating alerts links with custom URL

Grafana Setting for updating alerts links with custom URL

Grafana alerting (embedded in kfuse stack) uses a setting to use for links in alert notification. If using tls and a dns host name, this field needs to be updated. Merge with existing grafana section in your custom_values.yaml if it exists as shown below. Add the section for root_url with the DNS host name to use.

grafana: replicas: 1 grafana.ini: server: # make sure to update this value if tls is enabled as shown below filling up the root_url: "https://<REPLACE DNS HOST HERE>/grafana" smtp: ... envValueFrom: ...

In configurations where the custom_values.yaml file doesn’t have an existing grafana section, then add following in your custom_values.yaml file:

# grafana - Configuration for the embedded Grafana included in Kfuse grafana: # grafana.ini - Grafana server configuration settings grafana.ini: server: ## make sure to update this value if tls is enabled as shown below filling up the root_url: "https://<REPLACE DNS HOST HERE>/grafana" serve_from_sub_path: true