Comments (6)
@aesy Thank you so much for the fix! This will ship in our 0.17.0 release (estimated to go out next week).
Will close this issue once the release ships.
from dd-trace-java.
@aesy Thanks for the report. From your investigation, do you see something that can be changed inside the java tracer to improve the situation besides waiting for better handling in msgpack-java
?
from dd-trace-java.
The issue is only present when serializing string numbers, like such:
dd-trace-java/dd-trace-ot/src/main/java/datadog/opentracing/DDSpan.java
Lines 330 to 346 in 6b0e43b
dd-trace-java/dd-trace-ot/src/main/java/datadog/opentracing/DDSpan.java
Lines 408 to 424 in 6b0e43b
I think this could be circumvented by storing the id's as BigInteger
rather than String
. Maybe this would result in worse performance, as discussed here, I don't know.
I can make a pull request if you think think this would be a good solution.
from dd-trace-java.
@aesy trace/span identifiers are sometimes logged in performance sensitive areas. We wanted to avoid paying the penalty of conversion for such cases.
Serialization to the agent is less of a concern (only happens once). Do you think we could accomplish the same thing with changes to UInt64IDStringSerializer
?
from dd-trace-java.
Ah I see.
Yeah, that would work. And there wouldn't need to be any validation since that's already been done at an earlier stage.
from dd-trace-java.
Fix is included in 0.17.0.
from dd-trace-java.
Related Issues (20)
- feature request - instrumentation for https://github.com/http-kit/http-kit
- Trace id in logs are different from datadog trace id in web HOT 2
- dd-trace-java v1.31.2 crashes the JVM HOT 4
- RabbitMQ instrumentation tests is flaky HOT 1
- Spring Webflux 5 instrumentation tests are flaky
- Vert.X Redis client 4 instrumentation tests are flaky
- Grizzly http 2.3.20 instrumentation tests are flaky HOT 1
- Feature Request: Missing trace for JUnit5 BeforeAll/AfterAll methods in CIVisibility Instrumentation HOT 4
- BUG: dd-trace-java with version 1.33.0 causes InvalidCookieDomainException. In 1.32.0 works fine. HOT 3
- Live-heap profiler (alpha) in dd-trace-java v1.33.0 crashes the JVM. (After updated from v1.32.0) HOT 6
- Play Scala integration tests are flaky
- Spark instrumentation tests are flaky
- DD agent is not compatible with Quarkus 3.10 HOT 2
- Gradle smoke tests are flaky HOT 1
- Maven smoke tests are flaky HOT 1
- JDBC connection service mapping not being used, and traceparent missing, in SQL comment HOT 6
- With Unix Domain Socket, DD_AGENT_HOST not ignored despite DD_TRACE_AGENT_URL HOT 4
- Jetty9 instrumentation tests are flaky
- Question: When will the next release happen? HOT 4
- Jetty9 instrumentation tests are flaky
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dd-trace-java.