Remove ContrailFlowsCreatedTooMany alert
The metric is a cumulative counter so it makes no sense to define an
alert on it with an arbitrary threshold.
Change-Id: I67b034150e2d0cf6d0aeda4cb87cbd282b88f7b2
diff --git a/opencontrail/map.jinja b/opencontrail/map.jinja
index cbfae68..1fa1c3d 100644
--- a/opencontrail/map.jinja
+++ b/opencontrail/map.jinja
@@ -323,7 +323,6 @@
'vrouter_lls_too_high_threshold': 10,
'vrouter_lls_variation_threshold': 5,
'vrouter_flows_active_too_high_threshold': 1200,
- 'vrouter_flows_created_too_high_threshold': 1000,
'vrouter_flows_discard_too_high_threshold': 1200,
'vrouter_flows_flow_action_drop_too_high_threshold': 100,
'vrouter_flows_frag_err_too_high_threshold': 100,
diff --git a/opencontrail/meta/prometheus.yml b/opencontrail/meta/prometheus.yml
index e3707a6..c53f9c4 100644
--- a/opencontrail/meta/prometheus.yml
+++ b/opencontrail/meta/prometheus.yml
@@ -340,18 +340,6 @@
annotations:
summary: 'Too many vRouter active flows'
description: 'There are too many active vRouter flows on node {{ $labels.host }} (current value={{ $value }}, threshold={%- endraw %}{{ vrouter_flows_active_toohigh_threshold }})'
- ContrailFlowsCreatedTooMany:
- if: >-
- {%- set vrouter_flows_created_toohigh_threshold = monitoring.vrouter_flows_created_too_high_threshold %}
- min(contrail_vrouter_flows_created) >= {{ vrouter_flows_created_toohigh_threshold }}
-{%- raw %}
- for: 2m
- labels:
- severity: warning
- service: contrail-compute
- annotations:
- summary: 'Too many vRouter created flows'
- description: 'There are too many created vRouter flows on node {{ $labels.host }} (current value={{ $value }}, threshold={%- endraw %}{{ vrouter_flows_created_toohigh_threshold }})'
ContrailFlowsDiscardTooMany:
if: >-
{%- set vrouter_flows_discard_toohigh_threshold = monitoring.vrouter_flows_discard_too_high_threshold %}
@@ -424,7 +412,7 @@
annotations:
summary: 'Too many vRouter flows with invalid label'
description: 'There are too many vRouter flows with invalid label on node {{ $labels.host }} (current value={{ $value }}, threshold={%- endraw %}{{ vrouter_flows_invalid_label_toohigh_threshold }})'
- ContrailFlowsQueueLimitExeededTooMany:
+ ContrailFlowsQueueLimitExceededTooMany:
if: >-
{%- set vrouter_flows_flow_queue_limit_exceeded_toohigh_threshold = monitoring.vrouter_flows_flow_queue_limit_exceeded_too_high_threshold %}
min(contrail_vrouter_flows_flow_queue_limit_exceeded) >= {{ vrouter_flows_flow_queue_limit_exceeded_toohigh_threshold }}