-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
Error LOG
(*Notifier).Dispatch","file":"/home/runner/work/calert/calert/internal/notifier/notifier.go","line":41},"msg":"dispatching alerts","count":1}
{"time":"2024-03-26T17:01:19.101881613Z","level":"ERROR","source":{"function":"github.com/mr-karan/calert/internal/notifier.(*Notifier).Dispatch","file":"/home/runner/work/calert/calert/internal/notifier/notifier.go","line":45},"msg":"no provider available for room","room":"cattle-monitoring-system/alertas/alertas"}
{"time":"2024-03-26T17:01:19.102244707Z","level":"ERROR","source":{"function":"main.handleDispatchNotif.func1","file":"/home/runner/work/calert/calert/cmd/handlers.go","line":109},"msg":"error dispatching alerts","error":"no provider configured for room: cattle-monitoring-system/alertas/alertas"}
AlertManager Config
apiVersion: monitoring.coreos.com/v1alpha1
kind: AlertmanagerConfig
metadata:
name: alertas
namespace: cattle-monitoring-system
spec:
receivers:
- name: alertas
webhookConfigs:
- url: http://caalert-calert:6000/dispatch
route:
groupBy:
- job
groupInterval: 5m
groupWait: 30s
receiver: alertas
repeatInterval: 12h
ConfigMap
[providers.alertas]
type = "google_chat"
endpoint =
"https://chat.googleapis.com/v1/spaces/XXXXXXXXXXXXXXXXXXXXXXXXX"
max_idle_conns = 50
timeout = "30s"
proxy_url = ""
template = "static/message.tmpl"
thread_ttl = "12h"
dry_run = "false"
Metadata
Metadata
Assignees
Labels
No labels