linkedin / linkedin/Burrow

Cannot receive the warn notification

Open
#428 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
4k
Forks
818
Avg merge
1h 14m
Merged PRs (30d)
1

Description

when I test the notifier, I can receive the error notifications, but not warn notifications.
My configuration:
[notifier.kafka]
class-name="http"
interval=60
threshold=2
extras={region='us'}
send-close=false
template-open="/etc/burrow/notifier.tmpl"
url-open="https://oapi.dingtalk.com/robot/send?access_token=xxxxxxxxxxxx"

{
"msgtype":"text",
"text":{
"content":"region:{{index .Extras "region"}}\nid:{{.ID}}\ncluster:{{.Cluster}}\ngroup:{{.Group}}\nstart:{{.Start.Format "Jan 02, 2006 15:04:05 UTC"}}\ntotalLag:{{.Result.TotalLag}}"
}
}

I change the threshold to 1, but it still not work. I cannot find the error log about the notifier, how to fix it?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the notifier behavior with the supplied notifier.kafka configuration, comparing delivery of error and warn notifications. Trace the notifier entry point and its logging while testing a warn condition. Done means warn notifications are delivered reliably and notifier failures provide an actionable log message.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kafka
Domain
observability
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.