Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

stable/prometheus #23551

Closed
mouliveera opened this issue Aug 15, 2020 · 1 comment
Closed

stable/prometheus #23551

mouliveera opened this issue Aug 15, 2020 · 1 comment

Comments

@mouliveera
Copy link

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I see we have prometheus externalUrl and alertmanager externalUrl. When i am trying .GeneratorURL in alertmanger it is picking prometheus externalUrl. If we want to use both of them in alert notifications how can i parse them.

      slack_configs:
        - api_url: XXXXXX
          send_resolved: true
          channel: '#team' 
      
          title: '[{{ .Status | toUpper }}{{ if eq .Status "firing" }}:{{ .Alerts.Firing | len }}{{ end }}] Monitoring Event Notification'
          text: |-
            {{ range .Alerts }}
              *Alert:* `{{ .Labels.cluster }}`-`{{ .Labels.severity }}`: {{if .Annotations.message }}{{ .Annotations.message }}{{ else }}{{ .Labels.alertname }}{{ end }}
              *Graph:* <{{ .GeneratorURL }}|:chart_with_upwards_trend:> *Runbook:* <{{ .Annotations.runbook_url }}|:spiral_note_pad:> *Silence:* <{{ .ExternalURL }}|:no_bell:>

Describe the solution you'd like
I tried with the above option but no luck.

@gkarthiks
Copy link
Contributor

Hi @mouliveera the stable/prometheus chart has been deprecated effectively as per this PR #23692 on Sep 5, 2020 and moved to https://github.com/prometheus-community/helm-charts.

Please close this Issue and re-open against the prometheus-community/helm-charts repo. Here's a friendly link for new issue

We hope to see you there. 👋

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants