Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
flink-monitor
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
赵建伟
flink-monitor
Commits
75a29267
Commit
75a29267
authored
Mar 19, 2020
by
赵建伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update codes
parent
bdaaf64e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
statistics.py
libs/statistics.py
+6
-6
No files found.
libs/statistics.py
View file @
75a29267
...
...
@@ -125,14 +125,14 @@ def check_is_ok():
for
mapping
in
mapping_list
:
mapping_dic
[
mapping
[
0
]]
=
mapping
[
1
]
shd_dic
=
{}
for
shd
in
shd_list
:
shd_dic
[
shd
[
0
]]
=
shd
[
1
]
suc_dic
=
{}
for
suc
in
suc_list
:
if
shd_dic
.
get
(
suc
[
0
])
!=
suc
[
1
]:
suc_dic
[
suc
[
0
]]
=
suc
[
1
]
for
shd
in
shd_list
:
if
suc_dic
.
get
(
shd
[
0
])
!=
shd
[
1
]:
is_send
=
True
error_msg
+=
"【"
+
mapping_dic
.
get
(
s
uc
[
0
])
+
"】打点异常,应打点个数为:"
+
bytes
(
shd_dic
.
get
(
suc
[
0
]))
+
",实际打点个数为:"
+
bytes
(
suc
[
1
])
+
", 请核实!
\n
"
error_msg
+=
"【"
+
mapping_dic
.
get
(
s
hd
[
0
])
+
"】打点异常,应打点个数为:"
+
bytes
(
shd
[
1
])
+
",实际打点个数为:"
+
suc_dic
[
shd
[
0
]]
+
", 请核实!
\n
"
else
:
print
"all is ok!"
...
...
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