netdata / netdata/netdata

[Feat]: Add a Prometheus metrics showing current number of raised alarms

Open
#15,133 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request needs triage
Dominant language
Go
Stars
80.6k
Forks
6.6k
Avg merge
15h 36m
Merged PRs (30d)
304

Description

Problem

I would like to see the current number of raised alarms on my multi-node infrastructure running Netdata agents.

Description

Netdata is providing a lot of very useful metrics in Prometheus format.
One type of metric is missing - number of currently raised alarms.
This would allow users to improve their monitoring dashboards (ie. in Grafana), especially in multi node enviromnents.

Importance

really want

Value proposition
  1. Allow users to improve their monitoring dashboards (ie. in Grafana)
  2. Allow users to configure additional alarms in Prometheus

...

Proposed implementation

Add metrics such as

netdata_netdata_alarms_raised{chart="netdata",family="alarms",dimension="warning"} 3.0000000
netdata_netdata_alarms_raised{chart="netdata",family="alarms",dimension="critical"} 2.0000000

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by locating Netdata's existing Prometheus metrics and the alarm state source, then determine how raised warning and critical alarms should be exposed; done means the new metrics appear with the proposed labels and support monitoring dashboards and additional Prometheus alarms.

Written by the indexing model from the issue text.

Assessment

Tech stack
prometheus
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.