-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
metrics: added
statsd-exporter
and simple prometheus rules
- Loading branch information
Showing
3 changed files
with
57 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
groups: | ||
- name: karapace | ||
rules: | ||
- record: karapace_exceptions_sum_by_exception | ||
expr: sum by (exception) (exception) | ||
- alert: HighHTTPRequests | ||
expr: karapace_http_requests_total > 10 | ||
for: 5m | ||
labels: | ||
severity: warning | ||
annotations: | ||
summary: High HTTP requests for (instance={{ $labels.instance }}) | ||
description: "Service received\n HTTP Requests = {{ $value }}\n" | ||
- alert: FireImmidiately | ||
expr: karapace_schema_reader_schemas > 1 | ||
labels: | ||
severity: page | ||
annotations: | ||
summary: Lots of schems on (instance={{ $labels.instance }}) | ||
description: "\n Schema count = {{ $value }}\n" |