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

kubernetes_logs component is causing this Alert to fail #113

Merged
merged 2 commits into from
Sep 3, 2024
Merged
Changes from 1 commit
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
5 changes: 3 additions & 2 deletions common/logging.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,15 @@ groups:
annotations:
summary: "Vector is erroring"
description: "Vector is having errors for 15m"
action: "Check the \"Troubleshooting\" section of the dashboard to see the kind of error"
action: 'Check the "Troubleshooting" section of the dashboard to see the kind of error'
component: "{{ $labels.component_id }}"
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"
# Main alert, intended for "high rate" inputs
# kubernetes_logs component is causing this Alert to fail
asiyani marked this conversation as resolved.
Show resolved Hide resolved
- alert: VectorFailingToInput2h
expr: sum by (component_id) (rate(vector_component_received_events_total{component_kind="source",component_id!~"kubernetes_events|s3_msk"}[5m])) == 0
expr: sum by (component_id) (rate(vector_component_received_events_total{component_kind="source",component_id!~"kubernetes_events|s3_msk|kubernetes_logs"}[5m])) == 0
for: 2h
labels:
team: infra
Expand Down