mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-21 17:07:24 +08:00
* smartctl_exporter publishes both drive_trip and current drive temperatures. Since most of the alerts are going to be permanent, it does not make sense to wait for the alert to be on for a certain time. Temperature sensors likewise vary, using the last sample is not sufficient to alert on potential issues. * Add an option to run GitHub Action manually * Add an option to force running the action for testing purposes * Set variables correctly * Set variables correctly * Publish * Clean up some more metrics * Publish * Minor bug fixes * Publish * Removed queries that throw errors when systems are upgraded. Also fixed and simplified a few Postgres queries. * Publish * Refined some more queries * Publish * PostgreSQL now has optimized autovacuum behavior * Publish * PostgreSQL now has optimized autovacuum behavior * Publish * Publish * Query fails if instance names are not unique across jobs. This fixes it. * Publish * Ruby is out of date --------- Co-authored-by: samber <samber@users.noreply.github.com>
39 lines
858 B
Markdown
39 lines
858 B
Markdown
|
|
# Contributing
|
|
|
|
## Adding alerting rule
|
|
|
|
If you don't have time to write a PR, just copy and paste some alerts into an issue. We will format it accordingly.
|
|
|
|
Rules are here: `_data/rules.yml`.
|
|
|
|
### Guidelines
|
|
|
|
Please ensure your pull request adheres to the following guidelines:
|
|
|
|
- Search previous suggestions before making a new one, as yours may be a duplicate.
|
|
- Keep descriptions short and simple, but descriptive.
|
|
- Description must be factual (the "what?") and should provide root cause suggestions (the "why?"), for faster resolution.
|
|
- Queries must be tested on latest exporter version.
|
|
|
|
## Improving Github page
|
|
|
|
### Run localy
|
|
|
|
```
|
|
gem install bundler
|
|
bundle install
|
|
jekyll serve
|
|
```
|
|
|
|
Or with Docker:
|
|
|
|
```
|
|
docker run --rm -it -p 4000:4000 -v $(pwd):/srv/jekyll jekyll/jekyll jekyll serve
|
|
```
|
|
|
|
Or with Docker Compose:
|
|
|
|
```
|
|
docker compose up -d
|
|
```
|