influxdata / influxdata/kapacitor

Pushover title template variables

Open
#2,381 2 comments 0 reactions 0 assignees View on GitHub
difficulty-easy new-feature
Dominant language
Go
Stars
2.4k
Forks
479
Avg merge
4d 16h
Merged PRs (30d)
4

Description

Hi,

It seems that the Pushover alert service does not support template variables in the `title` parameter.

Example use-case:
```
state_data
|window()
.period(150m)
.every(5m)
.fillPeriod()
|mode('code')
.as('state_code')
|alert()
.info(lambda: "state_code" <= 3)
.stateChangesOnly()

.message('')

.pushover()
.title('{{ .Level }} System Alert: {{ index .Tags "name" }} on {{ index .Tags "cloud" }}')
```

Would it be possible to support templating in the `title` parameter?

Contributor guide

Open the contributing guide

Research direction

Start by locating the Pushover alert-service implementation and the handling of its title parameter. Compare that behavior with the template-variable example in the issue. Done means template variables render in Pushover titles when an alert is sent, with coverage for the example case.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
observability
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.