Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt vector alerts to work if grouped #92

Merged
merged 1 commit into from
Jun 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion common/logging.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,19 @@ groups:
annotations:
summary: "Vector cannot talk to loki"
description: "Vector's loki buffer is full, which means that it cannot talk to loki"
pod: "{{ $labels.kubernetes_pod_name }}"
impact: "Vector is not accepting new logs from it's input sources"
action: "Check if loki is up and if vector can talk to it"
dashboard: "https://grafana.$ENVIRONMENT.$PROVIDER.uw.systems/d/bdnuhz796molca/vector?var-pod={{ $labels.kubernetes_pod_name }}"
dashboard-fallback: "https://grafana.$ENVIRONMENT.$PROVIDER.uw.systems/d/bdnuhz796molca/vector"
- alert: VectorFailingToInput
expr: rate(vector_component_received_events_total{component_kind="source",component_id!="vector_metrics"}[5m]) == 0
for: 15m
labels:
team: infra
annotations:
summary: "Vector is not receiving logs"
description: "{{ $labels.kubernetes_pod_name }} received no logs from {{ $labels.component_id }} for 15m"
description: "Vector received no logs from {{ $labels.component_id }} for 15m"
pod: "{{ $labels.kubernetes_pod_name }}"
dashboard: "https://grafana.$ENVIRONMENT.$PROVIDER.uw.systems/d/bdnuhz796molca/vector?var-pod={{ $labels.kubernetes_pod_name }}"
dashboard-fallback: "https://grafana.$ENVIRONMENT.$PROVIDER.uw.systems/d/bdnuhz796molca/vector"