Skip to content

Commit

Permalink
add modified prometheus rule in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hitchhooker committed Jan 28, 2024
1 parent bace22f commit 771276e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,19 @@ Refer to the `alertmanager.yml` in the repository for guidance on integrating
Snitch with Prometheus. This configuration assists in setting up alert rules
and establishing a connection with Snitch.

Default alertmanager.yml values and snitch configs match following Watchdog rule(2m / none):
```yaml
rules:
- alert: Watchdog
expr: vector(1)
for: 2m
labels:
severity: none
annotations:
summary: "Constant watchdog alert for monitoring the alerting pipeline."
description: "This alert is always firing to ensure that the alerting pipeline is functional."
```

## Usage

- **/watchdog Endpoint:** This endpoint serves as a dead man's switch to confirm
Expand Down

0 comments on commit 771276e

Please sign in to comment.