Repository navigation
Replies: 2 comments 1 reply
|
Thanks for the detailed report. I tried to reproduce this on a real cluster and found one setting that matches your symptoms exactly. I need you to check whether it is enabled. Most likely cause: the trace retention sampler. The OAP How I checked
Please check, on the hot data nodes
If the sampler is on, that is the cause. To keep every trace, remove the If the sampler is off, I need these to look further:
|
|
Thanks for checking. Since the sampler is off and a trace is either visible within ~20 s or never, the loss looks like it happens at write time or in routing, not at merge time. I could not reproduce it on a healthy test cluster (3 data nodes, 2 liaisons, real OAP and Java agents): counts matched exactly. So here is a checklist, ordered so each step narrows things down. Items marked ✔ I checked on a test cluster; the others I read from the code or flags and did not run. Pick one trace ID that is reproducibly missing, note the request time, and keep the same ID for every step. 1. Did it reach BanyanDB?
2. Where is it in BanyanDB?
3. Write-side drops inside BanyanDB
4. Resources and node health
5. Before BanyanDB (if absent from the access log)
6. Query-only problems
What to send back
Steps 1, 3, 6 and 7 usually decide it. The rest only matter if those don't. |

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello @hanahmily there is a question that has been bothering me for a long time. Since I switched storage from Elasticsearch to banyandb, I have often found that request trace data links are lost and trace IDs are lost.
The following items have been confirmed:
1.JavaAgent/OAP cluster collection rate: confirm that the OAP cluster has sufficient processing capacity (Grafana monitoring shows no overload/dropped data).
2.JavaAgent-->satellite-->OAP--banyandb-liaison-->liaison-data-hot No errors or exceptions were found throughout the entire chain.
3.The sampler is turned off by default
Phenomenon:

1.The trace ID generated by the JavaAgent can be searched and found normally in the ELK application logs.
2.No records are found when searching the trace ID in Horizon.

3.There are also no records when querying in BanyanDB.

4.BanyanDB write latency status:

Other:

For fixed manually triggered requests, in most cases the results cannot be queried; perhaps only 1 out of 10 requests can be found. Currently on the latest main branch.
Is it related to #14158 The same known problem?
I tested apache/skywalking-banyandb#1485 But no values were found for the banyand_trace_rite_dropped_total metric
Are there any troubleshooting strategies for uncertain bug issues?
All reactions