robusta icon indicating copy to clipboard operation
robusta copied to clipboard

Robusta is not able to route based on labels

Open volver-13 opened this issue 2 years ago • 2 comments

Describe the bug Robusta is not able to route based on labels

To Reproduce I have the following sinks configuration:

sinksConfig:
- ms_teams_sink:
    name: main_ms_teams_sink_product_a
    webhook_url: xxxx
    match:
      labels: "business=product_a"
- ms_teams_sink:
    name: main_ms_teams_sink_product_b
    webhook_url: xxxx
    match:
      labels: "business=product_b"
- ms_teams_sink:
    name: main_ms_teams_sink_default
    webhook_url: xxxxx
    match:
      severity: [INFO, LOW, MEDIUM, HIGH]
- opsgenie_sink:
    name: opsgenie_sink
    api_key: <opsgenie_sink_token>
    teams:
    - "SRE-TEAM"
    tags:
    - "application-cluster"
- robusta_sink:
    name: robusta_ui_sink
    token: <robusta_sink_token>

Expected behavior Alerts are routed towards correct MS teams channels, instead all the alert gets routed into default channel main_ms_teams_sink_default

Robusta version (please complete the following information): I'm running latest robusta version 0.10.24

Context The alerts are coming from Alert Manager and they have proper labels visible in Prometheus Alert Manager UI

volver-13 avatar Oct 06 '23 11:10 volver-13

Hi 👋, thanks for opening an issue! Please note, it may take some time for us to respond, but we'll get back to you as soon as we can!

  • 💬 Slack Community: Join Robusta team and other contributors on Slack here.
  • 📖 Docs: Find our documentation here.
  • 🎥 YouTube Channel: Watch our videos here).

github-actions[bot] avatar Oct 06 '23 11:10 github-actions[bot]

fixed in #1298

arikalon1 avatar Apr 05 '24 14:04 arikalon1