influxdata / influxdata/kapacitor

I can't send alert to multiple chat-id on telegram

Open
#1,223 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.4k
Forks
479
Avg merge
4d 16h
Merged PRs (30d)
4

Description

i'm trying send alert / notification to telegram with 1 bot telegram to multiple chat-id, but result is nothing.
may i miss something ??

in kapacitor.conf i'm not include chat-id. im using kapacitor 1.2
```
[telegram]
enabled = true
url = "https://api.telegram.org/bot"
token = "xxxxxxxxxxx"
parse-mode = "Markdown"
disable-web-page-preview = false
disable-notification = false
global = false
state-changes-only = true
```

im include chat-id in tick script

```
stream
|from()
.groupBy('host')
|deadman(0.0, 120s)
.id('server {{ index .Tags "host" }}')
.message('{{ .ID }} {{ if eq .Level "OK" }}UP{{ else }}DOWN{{ end }}')
|alert()
.stateChangesOnly()
.telegram()
.chatId('xxxxx')
```

Contributor guide

Open the contributing guide

Research direction

Start with the Telegram settings in kapacitor.conf and the .telegram().chatId('xxxxx') call in the tick script. Review how Kapacitor 1.2 handles Telegram recipients and multiple chat IDs, then reproduce the reported no-alert result. Done means the documented configuration or behavior for sending one alert to multiple chat IDs is clear and verified.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.