Commit fd342cdc authored by Jérome Perrin's avatar Jérome Perrin

software/grafana: fix query counting failed activities

parent 0af80260
......@@ -23,7 +23,7 @@ md5sum = b4330fbe0c9c3631f4f477c06d3460b3
[instance-agent]
filename = instance-agent.cfg.in
md5sum = 9fc368a3ac16bee297a4f2ad87b3bbb4
md5sum = 19763a2745aa440bcb3ea4252b9fe8e0
[influxdb-config-file]
......
......@@ -215,9 +215,9 @@ init =
{
"query": """
select 'message' as cmf_activity_queue, count(*) as failed_message_count
from message where processing_node between -2 and -10
from message where processing_node between -10 and -2
union all select 'message_queue' as cmf_activity_queue, count(*) as failed_message_count
from message_queue where processing_node between -2 and -10
from message_queue where processing_node between -10 and -2
""",
"field_columns_include": ["failed_message_count"],
"tag_columns_include": ["cmf_activity_queue"],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment