Skip to content

Commit f9828c9

Browse files
committed
need to send scope header to mimir
1 parent 81eb3fc commit f9828c9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

cabotage/celery/tasks/alerting.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ def reconcile_alerts():
3434
if verify is None:
3535
verify = True
3636

37+
headers = {"X-Scope-OrgID": current_app.config.get("MIMIR_TENANT_ID")}
38+
3739
secret = current_app.config.get("ALERTMANAGER_WEBHOOK_SECRET")
38-
headers = {}
3940
if secret:
4041
headers["Authorization"] = f"Bearer {secret}"
4142

0 commit comments

Comments
 (0)