fix alert rule bug

This commit is contained in:
chenxingyu
2017-06-13 16:40:56 +08:00
parent 9808fdba66
commit 98cdf68a0c
2 changed files with 6 additions and 6 deletions

View File

@@ -76,7 +76,7 @@ LABELS {
} }
ANNOTATIONS { ANNOTATIONS {
summary = "slow gRPC requests", summary = "slow gRPC requests",
description = "on etcd instance {{ $labels.instance }} gRPC requests to {{ $label.grpc_method }} are slow", description = "on etcd instance {{ $labels.instance }} gRPC requests to {{ $labels.grpc_method }} are slow",
} }
# HTTP requests alerts # HTTP requests alerts
@@ -117,7 +117,7 @@ LABELS {
} }
ANNOTATIONS { ANNOTATIONS {
summary = "slow HTTP requests", summary = "slow HTTP requests",
description = "on etcd instance {{ $labels.instance }} HTTP requests to {{ $label.method }} are slow", description = "on etcd instance {{ $labels.instance }} HTTP requests to {{ $labels.method }} are slow",
} }
# etcd member communication alerts # etcd member communication alerts
@@ -132,7 +132,7 @@ LABELS {
} }
ANNOTATIONS { ANNOTATIONS {
summary = "etcd member communication is slow", summary = "etcd member communication is slow",
description = "etcd instance {{ $labels.instance }} member communication with {{ $label.To }} is slow", description = "etcd instance {{ $labels.instance }} member communication with {{ $labels.To }} is slow",
} }
# etcd proposal alerts # etcd proposal alerts

View File

@@ -122,7 +122,7 @@ data:
} }
ANNOTATIONS { ANNOTATIONS {
summary = "slow gRPC requests", summary = "slow gRPC requests",
description = "on etcd instance {{ $labels.instance }} gRPC requests to {{ $label.grpc_method }} are slow", description = "on etcd instance {{ $labels.instance }} gRPC requests to {{ $labels.grpc_method }} are slow",
} }
# HTTP requests alerts # HTTP requests alerts
@@ -163,7 +163,7 @@ data:
} }
ANNOTATIONS { ANNOTATIONS {
summary = "slow HTTP requests", summary = "slow HTTP requests",
description = "on etcd instance {{ $labels.instance }} HTTP requests to {{ $label.method }} are slow", description = "on etcd instance {{ $labels.instance }} HTTP requests to {{ $labels.method }} are slow",
} }
# etcd member communication alerts # etcd member communication alerts
@@ -178,7 +178,7 @@ data:
} }
ANNOTATIONS { ANNOTATIONS {
summary = "etcd member communication is slow", summary = "etcd member communication is slow",
description = "etcd instance {{ $labels.instance }} member communication with {{ $label.To }} is slow", description = "etcd instance {{ $labels.instance }} member communication with {{ $labels.To }} is slow",
} }
# etcd proposal alerts # etcd proposal alerts