Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OSUG
RESIF
ws-statistics
Commits
4fbe1425
Commit
4fbe1425
authored
Mar 01, 2021
by
Jerome Touvier
Browse files
Merge branch 'fix3' into 'master'
remove requests field See merge request
!39
parents
c41ed2be
3f936b14
Changes
1
Hide whitespace changes
Inline
Side-by-side
apps/output.py
View file @
4fbe1425
...
...
@@ -39,9 +39,7 @@ def is_like_or_equal(params, key):
def
sum_request
():
return
(
"COALESCE(HLL_CARDINALITY(HLL_UNION_AGG(requests_set)), SUM(requests))::BIGINT"
)
return
"HLL_CARDINALITY(HLL_UNION_AGG(requests_set))::BIGINT"
def
sql_common_string
(
params
):
...
...
@@ -191,8 +189,6 @@ def get_header(params):
header
.
append
(
"size"
)
elif
params
[
"request"
]
==
"country"
:
header
=
[
"country"
,
"requests"
,
"clients"
]
elif
params
[
"request"
]
==
"map"
:
header
=
[
"country"
,
"requests"
]
elif
params
[
"request"
]
==
"send"
:
header
=
[
"network"
,
"station"
,
"bytes"
]
elif
params
[
"request"
]
==
"timeseries"
:
...
...
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