fix linter errors

This commit is contained in:
Sergey Malyuk
2025-12-12 12:05:49 +03:00
parent cb4f2672ca
commit 1f371faad6
10 changed files with 38 additions and 38 deletions

View File

@@ -1,6 +1,6 @@
---
global:
scrape_interval: 15s
scrape_interval: 15s
evaluation_interval: 15s
rule_files:
@@ -11,4 +11,4 @@ rule_files:
scrape_configs:
- job_name: prometheus
static_configs:
- targets: ['localhost:9090']
- targets: ['localhost:9090']

View File

@@ -1,13 +1,13 @@
groups:
- name: example
labels:
team: myteam
rules:
- alert: HighRequestLatency
expr: job:request_latency_seconds:mean5m{job="myjob"} > 0.5
for: 10m
keep_firing_for: 5m
- name: example
labels:
severity: page
annotations:
summary: High request latency
team: myteam
rules:
- alert: HighRequestLatency
expr: job:request_latency_seconds:mean5m{job="myjob"} > 0.5
for: 10m
keep_firing_for: 5m
labels:
severity: page
annotations:
summary: High request latency