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
Labels
Merge Requests
103
Merge Requests
103
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
c9a92770
Commit
c9a92770
authored
Oct 17, 2024
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/grafana: disable "activity delay" probe for now
These queries are too slow.
parent
5875f8cf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
15 deletions
+15
-15
software/grafana/buildout.hash.cfg
software/grafana/buildout.hash.cfg
+1
-1
software/grafana/instance-agent.cfg.in
software/grafana/instance-agent.cfg.in
+14
-14
No files found.
software/grafana/buildout.hash.cfg
View file @
c9a92770
...
@@ -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 = 6
bbc97cf8e752d22773d5f23ecdda37d
md5sum = 6
4b7015eb7f0a6490c437cb0693d707b
[influxdb-config-file]
[influxdb-config-file]
...
...
software/grafana/instance-agent.cfg.in
View file @
c9a92770
...
@@ -219,20 +219,20 @@ init =
...
@@ -219,20 +219,20 @@ init =
"field_columns_include": ["failed_message_count"],
"field_columns_include": ["failed_message_count"],
"tag_columns_include": ["cmf_activity_queue"],
"tag_columns_include": ["cmf_activity_queue"],
},
},
{
# TODO: these queries are slow and maybe not correct
"query": """
# {
select cast(coalesce(max(UNIX_TIMESTAMP(now()) - UNIX_TIMESTAMP(message.date)), 0) as int)
# "query": """
as waiting_time, 'message' as cmf_activity_queue
# select cast(coalesce(max(UNIX_TIMESTAMP(now()) - UNIX_TIMESTAMP(message.date)), 0) as int)
from message where processing_node in (-1, 0) and message.message not like '%after_tag%'
# as waiting_time, 'message' as cmf_activity_queue
union all
# from message where processing_node in (-1, 0) and message.message not like '%after_tag%'
select cast(coalesce(max(UNIX_TIMESTAMP(now()) - UNIX_TIMESTAMP(message_queue.date)), 0) as int)
# union all
as waiting_time, 'message_queue' as cmf_activity_queue
# select cast(coalesce(max(UNIX_TIMESTAMP(now()) - UNIX_TIMESTAMP(message_queue.date)), 0) as int)
from message_queue where processing_node in (-1, 0) and message_queue.message not like '%after_tag%'
# as waiting_time, 'message_queue' as cmf_activity_queue
""",
# from message_queue where processing_node in (-1, 0) and message_queue.message not like '%after_tag%'
"field_columns_include": ["waiting_time"]
,
# """
,
"tag_columns_include": ["cmf_activity_queu
e"],
# "field_columns_include": ["waiting_tim
e"],
# "tag_columns_include": ["cmf_activity_queue"],
},
#
},
],
],
"tags": dict(
"tags": dict(
partition.get("static-tags", {}),
partition.get("static-tags", {}),
...
...
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