Tyler Benson
697d4972a8
Remove Jackson from dd-trace-ot
...
Reduced the size of dd-java-agent jar by about 2 MB. Jackson is not removed completely though as it is still a dependency of jmxfetch.
Trace serialization is primarily done directly with msgpack.
Response deserialization and LoggingWriter serialization is done with mochi.
Msgpack Serialization buffer still not being reused though.
2020-01-31 15:59:43 -05:00
Tyler Benson
e31cbd6c89
Add Builder to DDTracer
...
Deprecate previous constructors.
2020-01-14 17:44:34 -08:00
Tyler Benson
0a89f2a57c
Extract DDAgentResponseListener from DDApi.
...
Reduce references to DDApi
2019-12-20 14:49:31 -08:00
Tyler Benson
24e2fe6da7
Move DDApi and rename to DDAgentApi
...
Reduce visibility back to what it was before refactoring.
2019-12-20 14:36:45 -08:00
Laplie Anderson
bc2978e8d8
Use groovy literals for BigInteger
2019-11-04 16:16:03 -05:00
Laplie Anderson
cfc19facf5
Change String ids to BigInteger ids
2019-11-04 11:21:32 -05:00
Tyler Benson
9ef3332140
Extract base test class and move Config class changes there.
2019-10-07 18:51:25 +02:00
Tyler Benson
2052647ec9
Fix content length calculation for larger trace counts
...
Failure to calculate this correctly causes the agent to drop the request.
2019-03-27 15:06:07 -07:00
Tyler Benson
7ffcf5ad4d
Change DDAgentWriter to use Disruptor
...
Serialize payloads as they arrive, send to agent when size exceeds 5MB.
If a flood of traces fills up the RingBuffer, we still count the traces that are discarded for stats reporting.
Do we want to allow configuration of the RingBuffer size?
2019-03-19 09:44:23 -07:00
Nikolay Martynov
63e0c0f032
Support Unix Domain Socket proxy to send traces
2019-03-15 11:36:44 -07:00
Tyler Benson
a33b6ddaa0
Implement trace origin header and propagation support
2019-02-26 08:26:31 -08:00
Tyler Benson
93c046a664
Add support for DD_TRACE_AGENT_PORT setting
...
Makes this more consistent with other apm language clients.
2018-11-16 11:09:26 -08:00
Nikolay Martynov
caa799ddc1
Refactor DDTraceConfig to a Config we can use globally
...
This would allow us to use same configuration ingrastructure in
different modules. E.g. upcoming JMX.
2018-09-12 17:14:58 -04:00
Gary Huang
6317b21d5c
Fix merge conflicts with service mapping change
2018-07-26 09:16:41 -04:00
Tyler Benson
7807615605
This actually must be done at the span finish, rather than creation.
...
Otherwise the context decorator doesn’t know if it should change the span name or not.
2018-07-23 13:59:01 +10:00
Gary Huang
96f79a8aba
Change the internal storage and handling of trace ID, span ID, and parent IDs' to use String instead of long primitive.
...
This will allow the java agent to receive unsigned 64 bit integers without overflow.
Also upgraded MsgPack to handle the serialization of such Strings as numbers in JSONs.
2018-07-20 17:19:04 -04:00
Tyler Benson
d5d24c50c7
Replace @Unroll’s with a rule to always unroll.
2018-05-10 15:24:59 +10:00
Tyler Benson
e7604bfd3f
Report X-Datadog-Trace-Count header with traces
...
Also remove unused services endpoint code.
2018-04-18 10:27:51 +08:00
Andrew Kent
32272a4aa7
Move PrioritySampling flags to dd-trace-api project.
2018-04-16 12:46:26 -07:00
Tyler Benson
5a61124cae
Add tests against an actual trace agent.
2018-03-28 22:31:15 +08:00