Closed fatpat closed 4 years ago
Merging #2072 into 7.x will increase coverage by
0.87%
. The diff coverage isn/a
.
@@ Coverage Diff @@
## 7.x #2072 +/- ##
==========================================
+ Coverage 77.62% 78.48% +0.87%
==========================================
Files 376 378 +2
Lines 73020 73447 +427
Branches 6567 6563 -4
==========================================
+ Hits 56673 57637 +964
+ Misses 16131 15603 -528
+ Partials 216 207 -9
Impacted Files | Coverage Δ | |
---|---|---|
oio/account/backend.py | 70.89% <ø> (ø) |
|
events/oio_events_queue_beanstalkd.c | 74.28% <0.00%> (-9.00%) |
:arrow_down: |
tests/functional/content/test_service_id.py | 78.83% <0.00%> (-5.29%) |
:arrow_down: |
oio/common/utils.py | 67.69% <0.00%> (-3.04%) |
:arrow_down: |
oio/directory/meta0.py | 84.07% <0.00%> (-0.92%) |
:arrow_down: |
meta2v2/meta2_filters_extract.c | 82.68% <0.00%> (-0.78%) |
:arrow_down: |
meta2v2/meta2_filters_action_content.c | 83.13% <0.00%> (-0.48%) |
:arrow_down: |
proxy/transport_http.c | 85.36% <0.00%> (-0.28%) |
:arrow_down: |
server/transport_gridd.c | 74.66% <0.00%> (-0.19%) |
:arrow_down: |
proxy/m2_actions.c | 88.32% <0.00%> (-0.13%) |
:arrow_down: |
... and 65 more |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 7151cf7...fd5e584. Read the comment docs.
SUMMARY
For statistics about buckets,
oio-exporter
needs to have access to the entire list of buckets. Currently, we have two options:scan
with a match onbuckets:*
but this is not an option as performances are terriblehscan
overaccounts:
and then for each account,zscan
overbuckets:$account
but it's too complicated and does not fit well into oio-exporter code as we wish to separate fetching accounts and buckets metrics.ISSUE TYPE
COMPONENT NAME
Account
SDS VERSION
ADDITIONAL INFORMATION
Feel free to to use the following script for creating
buckets:
key frombuckets:*
key on existing cluster: https://github.com/open-io/oio-toolkit/blob/master/scripts/updates-buckets:.lua