influxdata / influxdata/kapacitor

Feature Request: Default alert details should be configurable

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

Description

For example, an alert will usually always contain Influx tags, so I might want to set my default alert message to this:

```

{{ range $key, $value := .Tags }}

{{ end }}

Tags
{{ $key }}
{{ $value }}

```

Right now, there's not a convenient way to do this without duplicating the information in multiple TICKscripts (including in templates).

If there was a global setting, I could point to a file containing my details, e.g.:

```
[deadman]
details = file:///etc/kapacitor/details.txt
```

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named. Start by tracing how alert details, TICKscripts, templates, and global configuration are currently handled. Done means a global setting can reference a details file such as /etc/kapacitor/details.txt and make its contents available in default alert messages without duplicating them across TICKscripts.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.