Closed ao2017 closed 3 years ago
just a few questions but lgtm
Merging #744 (7fb4874) into master (1b45699) will increase coverage by
0.05%
. The diff coverage is84.55%
.
@@ Coverage Diff @@
## master #744 +/- ##
============================================
+ Coverage 55.03% 55.09% +0.05%
- Complexity 3131 3146 +15
============================================
Files 743 746 +3
Lines 20248 20334 +86
Branches 1316 1329 +13
============================================
+ Hits 11144 11203 +59
- Misses 8632 8651 +19
- Partials 472 480 +8
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 e18fc9f...7fb4874. Read the comment docs.
Add a new group combiner to handle simple tdigest query This combiner handles query that doesn't include aggregation clause. Query will return the record count in each distributionPoint instead of a binary data.
Refactor DistributedCombiner.
Add integration test to validate TdigestBucket thread safety
Add addition integration test for tdigest
Remove lock free implementation of TdigestBucket .
Sample Query :
curl --location --request POST ''http://localhost:8081/query/metrics'' --header 'Content-Type: application/json' --data-raw '{ "source":"distributionPoints", "range": {"type": "relative", "unit": "DAYS", "value": 30}, "filter": ["and", ["=", "run", "17716d49eab"], ["=", "metric_type", "distribution"]] }' return datapoint count in each distributionPoint and -1 if batch is empty.
curl --location --request POST 'http://localhost:8081/query/metrics' --header 'Content-Type: application/json' --data-raw '{ "source":"distributionPoints","features":["com.spotify.heroic.distributed_aggregations"], "range": {"type": "relative", "unit": "DAYS", "value": 30}, "filter": ["and", ["=", "run", "17716d49eab"], ["=", "metric_type", "distribution"]], "aggregation": { "type": "group", "of": ["site"], "each": { "type": "tdigest" }} }' merge and compute default percentile ( P99, p50 and p75)