Extract separate files/packages for better visibility.

This commit is contained in:
Alex Ellis
2017-01-21 15:50:19 +00:00
parent 8da30eecaa
commit b9bd7c8101
7 changed files with 209 additions and 188 deletions

View File

@ -4,12 +4,12 @@ ALERT service_down
ALERT APIHighInvocationRate
IF rate ( gateway_function_invocation_total [10s] ) > 5
FOR 30s
ANNOTATIONS {
summary = "High invocation total on {{ $labels.instance }}",
description = "High invocation total on {{ $labels.instance }}",
}
LABELS {
service = "gateway",
severity = "major",
value = "{{$value}}",
value = "{{$value}}"
}
ANNOTATIONS {
summary = "High invocation total on {{ $labels.instance }}",
description = "High invocation total on {{ $labels.instance }}"
}