-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Closed
Labels
backendOAP backend related.OAP backend related.bugSomething isn't working and you are sure it's a bug!Something isn't working and you are sure it's a bug!
Milestone
Description
Search before asking
- I had searched in the issues and found no similar issues.
Apache SkyWalking Component
OAP server (apache/skywalking)
What happened
Using AvgLabeled or Other Labeled, Histogram combined Function, it working like duplicate combined when downsampling HOUR and DAY operation
What you expected to happen
Only working once combine in same timeBucket
How to reproduce
The environment occur using
enable downsampling HOUR and DAY
application.yaml
- core.default.downsampling (HOUR, DAY)
- The bug occurs in MergableBufferedData accept()
- If buffer has same METRICS (for example, AvgLabeled, SumHistogram, (using dataTable object or else), etc), but different timeBucket
- When accept method run combined code
- It combined looks like duplicate (same metrics but other timebucket)
Detail
- MetricsTransWorker create toHour and toDay
- it create new Metrics object but share same object (such as object)
- run produce and consume
- If buffer already existed METRICS then combined
- then toHour METRICS run combined, toDay METRICS run combined for same DataTable
It working fine in primitive value
solve:
Anything else
When combined toHour metrics and toDay metrics
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
backendOAP backend related.OAP backend related.bugSomething isn't working and you are sure it's a bug!Something isn't working and you are sure it's a bug!