Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Paul Graydon
slapos
Commits
fd342cdc
Commit
fd342cdc
authored
Nov 18, 2024
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/grafana: fix query counting failed activities
parent
0af80260
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
software/grafana/buildout.hash.cfg
software/grafana/buildout.hash.cfg
+1
-1
software/grafana/instance-agent.cfg.in
software/grafana/instance-agent.cfg.in
+2
-2
No files found.
software/grafana/buildout.hash.cfg
View file @
fd342cdc
...
@@ -23,7 +23,7 @@ md5sum = b4330fbe0c9c3631f4f477c06d3460b3
...
@@ -23,7 +23,7 @@ md5sum = b4330fbe0c9c3631f4f477c06d3460b3
[instance-agent]
[instance-agent]
filename = instance-agent.cfg.in
filename = instance-agent.cfg.in
md5sum =
9fc368a3ac16bee297a4f2ad87b3bbb4
md5sum =
19763a2745aa440bcb3ea4252b9fe8e0
[influxdb-config-file]
[influxdb-config-file]
...
...
software/grafana/instance-agent.cfg.in
View file @
fd342cdc
...
@@ -215,9 +215,9 @@ init =
...
@@ -215,9 +215,9 @@ init =
{
{
"query": """
"query": """
select 'message' as cmf_activity_queue, count(*) as failed_message_count
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
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"],
"field_columns_include": ["failed_message_count"],
"tag_columns_include": ["cmf_activity_queue"],
"tag_columns_include": ["cmf_activity_queue"],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment