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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Roque
slapos
Commits
0cf057f0
Commit
0cf057f0
authored
Nov 20, 2024
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/grafana: collect method_id of failed erp5 activities
parent
a785db98
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
software/grafana/buildout.hash.cfg
software/grafana/buildout.hash.cfg
+1
-1
software/grafana/instance-agent.cfg.in
software/grafana/instance-agent.cfg.in
+5
-5
No files found.
software/grafana/buildout.hash.cfg
View file @
0cf057f0
...
@@ -23,7 +23,7 @@ md5sum = 86e379ac6ba789d65369ca1e0d4dfa3f
...
@@ -23,7 +23,7 @@ md5sum = 86e379ac6ba789d65369ca1e0d4dfa3f
[instance-agent]
[instance-agent]
filename = instance-agent.cfg.in
filename = instance-agent.cfg.in
md5sum =
a6f13d73732f4c1f34787c63ed9a7e8d
md5sum =
89fd1b010351cea9968360054e0c4aa9
[influxdb-config-file]
[influxdb-config-file]
...
...
software/grafana/instance-agent.cfg.in
View file @
0cf057f0
...
@@ -214,13 +214,13 @@ init =
...
@@ -214,13 +214,13 @@ init =
},
},
{
{
"query": """
"query": """
select 'message' as cmf_activity_queue, count(*) as failed_message_count
select 'message' as cmf_activity_queue,
method_id,
count(*) as failed_message_count
from message where processing_node between -10 and -2
from message where processing_node between -10 and -2
group by method_id
union all select 'message_queue' as cmf_activity_queue, count(*) as failed_message_count
union all select 'message_queue' as cmf_activity_queue,
method_id,
count(*) as failed_message_count
from message_queue where processing_node between -10 and -2
from message_queue where processing_node between -10 and -2
group by method_id
""",
""",
"field_columns_include": ["failed_message_count"],
"field_columns_include": ["failed_message_count"],
"tag_columns_include": ["cmf_activity_queue"],
"tag_columns_include": ["cmf_activity_queue"
, "method_id"
],
},
},
# TODO: these queries are slow and maybe not correct
# TODO: these queries are slow and maybe not correct
# {
# {
...
...
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