robusta
robusta copied to clipboard
Added support for webhook_url dynamic overriding using annotations (issue 1083)
Introduced the webhook_override attribute for ms_teams_sink, enabling the use of annotations from YAML files to dynamically override the webhook_url.
sinksConfig:
- ms_teams_sink:
name: main_ms_teams_sink
webhook_url: teams-incoming-webhook
webhook_override: "annotations.msteams"
Reason for using annotations instead of labels:
Annotations are used instead of labels because URLs can't be passed to labels (see comment for MsTeamsWebhookUrlTransformer in src/robusta/core/sinks/msteams/msteams_webhook_tranformer.py )