-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
48 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,4 +19,4 @@ jobs: | |
|
||
- name: Build the project | ||
run: | | ||
cargo build --release --workspace | ||
cargo build --release --workspace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
{ | ||
"rust-analyzer.linkedProjects": [ | ||
"Cargo.toml", | ||
"./Cargo.toml" | ||
] | ||
} | ||
"rust-analyzer.linkedProjects": ["Cargo.toml", "./Cargo.toml"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
global: | ||
smtp_smarthost: '${SMTP_HOST}' | ||
smtp_from: '${SMTP_FROM}' | ||
smtp_auth_username: '${SMTP_AUTH_USERNAME}' | ||
smtp_auth_password: '${SMTP_AUTH_PASSWORD}' | ||
smtp_require_tls: true | ||
smtp_smarthost: "${SMTP_HOST}" | ||
smtp_from: "${SMTP_FROM}" | ||
smtp_auth_username: "${SMTP_AUTH_USERNAME}" | ||
smtp_auth_password: "${SMTP_AUTH_PASSWORD}" | ||
smtp_require_tls: true | ||
|
||
route: | ||
group_by: ['instance', 'severity'] | ||
group_by: ["instance", "severity"] | ||
group_wait: 30s | ||
group_interval: 5m | ||
repeat_interval: 4h | ||
receiver: 'email_configs' | ||
receiver: "email_configs" | ||
receivers: | ||
- name: 'email_configs' | ||
email_configs: | ||
- to: '${EMAIL_TO}' | ||
send_resolved: true | ||
- name: "email_configs" | ||
email_configs: | ||
- to: "${EMAIL_TO}" | ||
send_resolved: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
groups: | ||
- name: example | ||
rules: | ||
- alert: TimeSinceLastUpdateTooHigh | ||
expr: time_since_last_update_seconds > 1200 | ||
for: 5m | ||
labels: | ||
severity: critical | ||
annotations: | ||
summary: "Time since the last update is too high" | ||
description: "The time since the last update of {{ $labels.pair }} from {{ $labels.source }} has exceeded 1200 seconds." | ||
- name: example | ||
rules: | ||
- alert: TimeSinceLastUpdateTooHigh | ||
expr: time_since_last_update_seconds > 1200 | ||
for: 5m | ||
labels: | ||
severity: critical | ||
annotations: | ||
summary: "Time since the last update is too high" | ||
description: "The time since the last update of {{ $labels.pair }} from {{ $labels.source }} has exceeded 1200 seconds." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters