New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't trace anything if the backend is not available. #4952
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4952 +/- ##
=============================================
- Coverage 50.24% 30.83% -19.41%
+ Complexity 2752 1496 -1256
=============================================
Files 763 613 -150
Lines 18871 15308 -3563
Branches 1851 1437 -414
=============================================
- Hits 9481 4720 -4761
- Misses 8632 10238 +1606
+ Partials 758 350 -408 Continue to review full report at Codecov.
|
Do you check the code style? Please check the CI logs. |
so sorry, not code style, some test will force check segment size when OAP backend not start. i will fix it. |
I don't remember there is segment size test. |
like this,
|
Keep trace should be OFF, I think. Is there a case open this? |
@wu-sheng sorry, origin code is ok, this Config.Agent.KEEP_TRACING means Keep tracing even the backend is not available... sorry. |
Please answer these questions before submitting pull request
Why submit this pull request?
Bug fix
New feature provided
Improve performance
Related issues
Bug fix
Bug description.
How to fix?
New feature or improvement