Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
meta_base_code
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黎涛
meta_base_code
Commits
e59d4b25
Commit
e59d4b25
authored
Dec 15, 2020
by
litaolemo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
266f408f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
es_status.py
celery_stats/es_status.py
+2
-2
No files found.
celery_stats/es_status.py
View file @
e59d4b25
...
@@ -123,8 +123,8 @@ def parse_node_stats(data):
...
@@ -123,8 +123,8 @@ def parse_node_stats(data):
if
search_thread_pool
[
'queue'
]
>
search_queue_max
:
if
search_thread_pool
[
'queue'
]
>
search_queue_max
:
res_str
+=
'{}节点 search queue 目前为{}
\n
'
.
format
(
node_name
,
str
(
search_thread_pool
[
'queue'
]))
res_str
+=
'{}节点 search queue 目前为{}
\n
'
.
format
(
node_name
,
str
(
search_thread_pool
[
'queue'
]))
if
search_thread_pool
[
'rejected'
]
-
rejected_last
>
0
:
if
search_thread_pool
[
'rejected'
]
>
0
:
res_str
+=
'{}节点 search rejected 目前为 {}
\n
'
.
format
(
node_name
,
str
(
search_thread_pool
[
'
queue
'
]))
res_str
+=
'{}节点 search rejected 目前为 {}
\n
'
.
format
(
node_name
,
str
(
search_thread_pool
[
'
rejected
'
]))
if
old_gc
-
old_gc_last
>
0
:
if
old_gc
-
old_gc_last
>
0
:
res_str
+=
"{name}节点 old_gc增长中 old_gc为{old_gc} 平均{old_gc_ms}ms
\n
"
.
format
(
name
=
node_name
,
old_gc
=
str
(
old_gc
),
res_str
+=
"{name}节点 old_gc增长中 old_gc为{old_gc} 平均{old_gc_ms}ms
\n
"
.
format
(
name
=
node_name
,
old_gc
=
str
(
old_gc
),
...
...
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