Skip to content

feat(ns-plug): add loglevel configuration to alert-proxy#1745

Merged
gsanchietti merged 9 commits into
mainfrom
metrics_fixes
Jun 26, 2026
Merged

feat(ns-plug): add loglevel configuration to alert-proxy#1745
gsanchietti merged 9 commits into
mainfrom
metrics_fixes

Conversation

@gsanchietti

@gsanchietti gsanchietti commented Jun 24, 2026

Copy link
Copy Markdown
Member

Changes:

  • move alert rules from victoria-metrics to ns-plug
  • remove encrypted backup alert and custom evaluation interval
  • fix root filesystem label in Telegraf
  • return only firing alerts from ns.telegraf API
  • scrape vmalert self-metrics via -promscrape.config in victoria-metrics
  • add loglevel config to alert-proxy
  • relax alert rules to avoid multiple notifications and lower the number of flapping alerts

@gsanchietti gsanchietti force-pushed the metrics_fixes branch 2 times, most recently from 525d512 to f0d3b90 Compare June 25, 2026 14:04
Comment thread packages/ns-plug/files/config Outdated
Comment thread packages/ns-plug/files/ns-plug-alert-proxy Outdated
Comment thread packages/ns-plug/Makefile
Comment thread packages/victoria-metrics/files/vmalert-rules/backup.yaml
Comment thread packages/victoria-metrics/files/victoria-metrics.initd Outdated
Comment thread packages/victoria-metrics/README.md Outdated
@gsanchietti gsanchietti marked this pull request as draft June 25, 2026 14:39
gsanchietti and others added 4 commits June 26, 2026 08:36
Default loglevel is 'warning' so only send failures appear in syslog.
Set loglevel=debug to restore verbose output (sent/dropped alerts).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Avoid to should pending alerts inside the UI: pending
alerts could be confusing for users
Use default evaluation interval (1m)
Avoid sending a not so usufull alert.
In case of package upgrade, ns-plug will require much less
space inside the overlay filesystem
Also increase check duration to avoid flapping.
Make sure metrics and alerts are raised with path=/ label
The option was added during a transition phase,
it's not required now.
@gsanchietti gsanchietti marked this pull request as ready for review June 26, 2026 08:23
@gsanchietti gsanchietti requested a review from Tbaile June 26, 2026 08:23
@gsanchietti gsanchietti merged commit 35c2960 into main Jun 26, 2026
3 checks passed
@gsanchietti gsanchietti deleted the metrics_fixes branch June 26, 2026 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants