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

CorednsPanicCount #51

Closed
obeyler opened this issue Sep 13, 2019 · 2 comments
Closed

CorednsPanicCount #51

obeyler opened this issue Sep 13, 2019 · 2 comments

Comments

@obeyler
Copy link
Contributor

obeyler commented Sep 13, 2019

I use helm chart: prometheus-9.1.0 (prometheu
the alert rule :

- alert: CorednsPanicCount
  expr: increase(coredns_panic_count_total[10min]) > 0
  for: 5m
  labels:
    severity: error
  annotations:
    summary: "CoreDNS Panic Count (instance {{ $labels.instance }})"
    description: "Number of CoreDNS panics encountered\n  VALUE = {{ $value }}\n  LABELS: {{ $labels }}"

seem to be not correct I see in log :


 \"CorednsPanicCount\": could not parse expression: parse error at char 36: bad duration syntax: \"10mi\""
level=error ts=2019-09-13T15:07:29.344Z caller=main.go:757 msg="Failed to apply 

something strange it's like 10min become 10mi in log

@obeyler
Copy link
Contributor Author

obeyler commented Sep 13, 2019

If I replace [10min] by only [10m] the rule is accepted

@samber
Copy link
Owner

samber commented Sep 13, 2019

Oops. Fixed in f7f94ed

Thanks for your report !

@samber samber closed this as completed Sep 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants