influxdata / influxdata/kapacitor

Creating alerts with external metrics

Open
#1,972 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

Related to #1968
I'm confused.
I want to use Kapacitor+Chronograf to make my own metrics alerts, with my own data imported. For that reason, I don't need Telegraf.
When I use my metrics to configure the alerts, the relative ones doesn't work properly, it seems Kapacitor don't consider that exist a relevant change between 1 minute ago metrics and the actual. Deadman and threshold alerts works properly.
But when I try to do the same relative alerts, with the same code, changing the db to use Telegraf, and taking cpu_usage as measurement, it works!
So this behaviour leads me to wonder if it's possible to use InfluxDB+Chronograf+Kapacitor to make alerts of my own data?
I don't think that Telegraf is necessary to import the metrics, I understand that I can do it from another place... I'm wrong?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the relative-alert behavior in Kapacitor with the user's imported metrics, then compare it with the same alert using Telegraf's cpu_usage measurement. The issue names Chronograf, Kapacitor, InfluxDB, and Telegraf but no files or tests; done means determining whether external metrics are supported and identifying why relative alerts differ.

Written by the indexing model from the issue text.

Assessment

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