🚨 Collection of Prometheus alerting rules
Find a file
Somrat Dutta 8c0bdc2b24
feat: Add NATS and JetStream Prometheus alert rules (#430)
* feat: Add comprehensive NATS and JetStream Prometheus alert rules

- Added multiple Prometheus alert rules for monitoring NATS server and JetStream metrics.
- Included alerts for:
  - High connection count
  - High pending bytes
  - High subscriptions count
  - High routes count
  - High memory usage
  - Slow consumers
  - NATS server downtime
  - High CPU usage
  - High number of active connections
  - High JetStream store and memory usage
  - Subscription limits exceeded
  - High pending messages
  - Authentication timeouts
  - Errors in NATS (JetStream API errors)
  - JetStream consumers limit exceeded
  - Exceeding max payload size
  - Leaf node connection issues
  - Ping operations limit exceeded
  - Write deadline exceeded
- Ensured consistency between `exporter.yml` and `rules.yml` files.
- Improved overall NATS and JetStream monitoring to prevent performance degradation and ensure system reliability.

This commit enhances the visibility of NATS and JetStream operations by providing key metrics to alert on potential issues and optimize system performance.

* Update rules.yml

* - minor changes, rollback rules.yml
- address comment changes
- revert to old rules.yml as they are generated

* - minor changes, rollback rules.yml
- address comment changes
- revert to old rules.yml as they are generated

* fix indentation

---------

Co-authored-by: somratdutta <duttasomratand.com>
Co-authored-by: Samuel Berthe <dev@samuel-berthe.fr>
Co-authored-by: somrat.dutta <somrat.dutta@nutanix.com>
2024-08-20 20:37:03 +02:00
.github build(deps): bump actions/checkout from 3 to 4 (#390) 2023-10-02 10:22:35 +02:00
_data feat: Add NATS and JetStream Prometheus alert rules (#430) 2024-08-20 20:37:03 +02:00
_layouts welcome @betterstack-community ✌️ 2024-03-21 16:22:34 +01:00
assets welcome @betterstack-community ✌️ 2024-03-21 16:22:34 +01:00
dist feat: Add NATS and JetStream Prometheus alert rules (#430) 2024-08-20 20:37:03 +02:00
.gitignore fix(ci): split rule groups into seperate files (#368) 2023-07-15 18:05:25 +02:00
.travis.yml 💄 awesome-lint 2019-02-11 22:09:50 +01:00
_config.yml chore: move from "https://awesome-prometheus-alerts.grep.to" to "https://samber.github.io/awesome-prometheus-alerts/" 2023-04-23 23:32:26 +02:00
alertmanager.md Update alertmanager.md 2023-11-21 18:38:09 +01:00
blackbox-exporter.md Update blackbox-exporter.md (#352) 2023-05-03 01:15:04 +02:00
CONTRIBUTING.md better contributing guidelines 2020-03-10 10:01:08 +01:00
docker-compose.yml feat(ui): adding copy buttons 2019-10-26 16:41:11 +02:00
Gemfile fix: Gemfile & Gemfile.lock to reduce vulnerabilities (#426) 2024-07-18 10:14:45 +02:00
Gemfile.lock build(deps-dev): bump rexml from 3.3.2 to 3.3.3 (#428) 2024-08-02 14:14:26 +02:00
index.md Update index.md (#353) 2023-05-03 01:13:46 +02:00
LICENSE Changing license 2019-02-11 21:05:55 +01:00
package.json 💄 awesome-lint 2019-02-11 22:09:50 +01:00
README.md Update README.md 2024-07-02 09:33:01 +02:00
rules.md layout: add wget script 2022-12-05 00:13:22 +01:00
sleep-peacefully.md Update sleep-peacefully.md 2023-04-12 21:10:59 +02:00

👋 Awesome Prometheus Alerts Awesome

Most alerting rules are common to every Prometheus setup. We need a place to find them all. 🤘 🚨 📊

Collection available here: https://samber.github.io/awesome-prometheus-alerts

Contents

🚨 Rules

Basic resource monitoring

Databases and brokers

Reverse proxies and load balancers

Runtimes

Orchestrators

Network, security and storage

Other

🤝 Contributing

Contributions from community (you!) are most welcome!

There are many ways to contribute: writing code, alerting rules, documentation, reporting issues, discussing better error tracking...

Instructions here

🏋️ Improvements

  • Create an alert rule builder in Jekyll for custom alerts (severity, thresholds, instances...)
  • Add resolution suggestions to rule descriptions, for faster incident resolution (#85).

💫 Show your support

Give a if this project helped you!

support us

👏 Thanks

Gratitude for the Gitlab operation team that provided 50+ rules. \o/

📝 License

CC4

Licensed under the Creative Commons 4.0 License, see LICENSE file for more detail.