Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ProfiT-HPC
aggregator
Commits
2f61b601
Commit
2f61b601
authored
Oct 04, 2019
by
Azat Khuziyakhmetov
Browse files
fixed a bug in the influx tool in order to import big data
parent
154dc61b
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/utils/json2lp.py
View file @
2f61b601
...
...
@@ -26,7 +26,9 @@ def parse_tags(tags_raw):
def
parse_values
(
val_raw
):
cols
=
val_raw
[
"results"
][
0
][
"series"
][
0
][
"columns"
]
vals
=
val_raw
[
"results"
][
0
][
"series"
][
0
][
"values"
]
vals
=
[]
for
i
in
range
(
0
,
len
(
val_raw
[
"results"
])):
vals
+=
val_raw
[
"results"
][
i
][
"series"
][
0
][
"values"
]
if
DEBUG
:
print
(
"Cols in file:"
,
cols
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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