dd-trace-java
dd-trace-java copied to clipboard
Datadog APM client for Java
Fails sometimes with `NegativeArraySizeException` in `TimelinePrinter` https://output.circle-artifacts.com/output/job/4aa15e53-496f-4038-9073-00e84c258bc5/artifacts/0/reports/dd-java-agent/instrumentation/rmi/tests/test/classes/RmiTest.html#Client%20call%20using%20ServerLegacy_stub%20creates%20spans ``` java.lang.NegativeArraySizeException: -7 at java.lang.AbstractStringBuilder.(AbstractStringBuilder.java:86) at java.lang.StringBuilder.(StringBuilder.java:116) at datadog.trace.agent.test.checkpoints.TimelinePrinter.repeat(TimelinePrinter.groovy:78) at datadog.trace.agent.test.checkpoints.TimelinePrinter.print(TimelinePrinter.groovy:42) at datadog.trace.agent.test.checkpoints.TimelineTracingContextTracker.print(TimelineTracingContextTracker.groovy:147) at org.spockframework.mock.runtime.ByteBuddyMethodInvoker.respond(ByteBuddyMethodInvoker.java:20) at org.spockframework.mock.runtime.MockInvocation.callRealMethod(MockInvocation.java:59) at org.spockframework.mock.CallRealMethodResponse.respond(CallRealMethodResponse.java:30) at org.spockframework.mock.runtime.MockController.handle(MockController.java:50) at org.spockframework.mock.runtime.JavaMockInterceptor.intercept(JavaMockInterceptor.java:72)...
https://app.circleci.com/pipelines/github/DataDog/dd-trace-java/15954/workflows/e9b6fccb-c7fb-4a5c-8155-0bc3554b445f/jobs/369213
Resource name is `GET /path/:id/param`, which incidentally is the resource name expected in the test previous to the failing one, instead of `GET /success` https://output.circle-artifacts.com/output/job/c745fd28-7b6c-4c92-85c8-9bbd135f1df3/artifacts/0/reports/dd-java-agent/instrumentation/ratpack-1.5/tests/latestDepTest/classes/server.RatpackHttpServerTest.html#test%20success%20with%20multiple%20header%20attached%20parent[0]
https://output.circle-artifacts.com/output/job/1df5f205-07ce-4fce-b8c6-2cb754500235/artifacts/0/reports/dd-java-agent/instrumentation/kafka-streams-0.11/tests/forkedTest/classes/KafkaStreamsForkedTest.html#test%20kafka%20produce%20and%20consume%20with%20streams%20in-between
https://output.circle-artifacts.com/output/job/c6607492-35f0-42b5-9026-856408bd1131/artifacts/0/reports/dd-java-agent/instrumentation/kafka-clients-0.11/tests/forkedTest/classes/KafkaClientForkedTest.html#test%20spring%20kafka%20template%20produce%20and%20batch%20consume
https://app.circleci.com/pipelines/github/DataDog/dd-trace-java/15946/workflows/2992800d-b572-4416-996a-3cfb9aa6a6a3/jobs/369005 @DataDog/appsec-java
# What Does This Do * Added more tests and JMH benchmarks for QueryObfuscator. * Fix for redaction of bearer tokens. # Motivation I saw some potential performance optimizations for...
# What Does This Do Toggle events when the underlying profiler implementation supports it. # Motivation Adapt profile configuration at runtime either by remote configuration or automatically when certain application...