Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

templates: add (org-aware) AlertingListURL to ExternalData and fix Slack receiver #241

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Sep 2, 2024

  1. templates: add AlertingListURL to ExternalData

    Some of the receivers use the /alerting/list for grouping alerts
    when their generator URLs aren't the same.
    
    However these alerting list URLs are not "org-aware".
    
    Instead of passing an orgId to every receiver constructor,
    we can enrich the template (extended) data with a URL that
    has the ?orgID=N in case it exists in the common annotations,
    to be reused by any receiver.
    macabu committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    44eb349 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7862878 View commit details
    Browse the repository at this point in the history