Add K8s specific files

This commit is contained in:
Alex Ellis
2017-07-25 20:44:14 +01:00
parent ddc973c341
commit 518d2f41a0
5 changed files with 133 additions and 0 deletions

View File

@ -0,0 +1,16 @@
ALERT service_down
IF up == 0
ALERT APIHighInvocationRate
IF sum ( rate(gateway_function_invocation_total{code="200"}[10s]) ) by (function_name) > 5
FOR 5s
LABELS {
service = "gateway",
severity = "major",
value = "{{$value}}"
}
ANNOTATIONS {
summary = "High invocation total on {{ $labels.instance }}",
description = "High invocation total on {{ $labels.instance }}"
}