Tyler Benson
f35e2e6ebe
Remove various warnings and other cleanup
...
Also upgrade some plugins.
2018-05-04 14:05:06 +10:00
Tyler Benson
84b7080860
Fix AgentInstaller ignores and @Trace naming
2018-05-03 13:03:53 +10:00
Andrew Kent
69abe56da0
Remove scala from integration tests
2018-03-19 16:07:45 -07:00
Andrew Kent
84fe1fc0e3
Organize bootstrap and agent classes by known prefix.
2018-03-15 12:17:03 -07:00
Andrew Kent
45aff57740
Assert on executor span relationships
2018-03-09 12:59:12 -08:00
Andrew Kent
9a83413141
Executor Instrumentation for Scala
2018-03-09 11:50:39 -08:00
Tyler Benson
c99f10c0d2
Decouple trace flush from collection
...
Wait until all spans are finished or garbage collected before reporting trace.
2018-03-09 14:31:48 +10:00
Andrew Kent
4a1db505db
Enhance logging and cleanup.
2018-02-15 19:17:19 -08:00
Andrew Kent
dd19b07017
Spock classloading tests
2018-02-15 19:17:19 -08:00
Andrew Kent
a692d42d3c
Move DatadogClassloader to bootstrap
2018-02-15 19:17:19 -08:00
Andrew Kent
a28a7abd4e
Run api classes on bootstrap and core agent on custom classloader
2018-02-15 19:17:19 -08:00
Andrew Kent
cfef64b026
Reorganize dd-java-agent subprojects
2018-02-15 18:55:02 -08:00
Tyler Benson
0ca6082a6e
Use string instead of int representation for IPv4
2018-02-06 17:30:44 +10:00
Tyler Benson
c1f73c194e
Prevent headers from being added for AWS client calls
2018-01-30 11:20:17 +10:00
Tyler Benson
b2b61e0c8c
Changes required for supporting OT 0.31.0
...
Also updates all the contrib versions that we currently depend on to their 0.31.0 supporting versions.
2018-01-16 09:52:28 -05:00
Tyler Benson
6d3d88987b
Rename dd-trace-annotations to dd-trace-api
...
And move DDTags over to it.
Move some `datadog.trace.api` classes over to `datadog.trace.common`.
Other misc renaming.
2018-01-09 10:07:36 +10:00
Tyler Benson
becf2a5862
Lots of renaming
...
Module:
dd-trace -> dd-trace-ot
Packages:
Standardize on `datadog.trace` and `datadog.opentracing` as the package prefixes.
2018-01-09 10:02:06 +10:00
Andrew Kent
9437c8c2db
Remove ExpensiveTest
2017-12-28 09:46:58 -08:00
Andrew Kent
d0658085bf
Convert Cassandra IntegrationTest to AgentTestRunner+spock
2017-12-28 09:46:58 -08:00
Tyler Benson
02460060bc
Misc cleanup
...
Remove out of date “async-tracing” example since it’s more about byteman and no longer relevant.
Minor changes to improve the code test coverage…
2017-12-21 16:31:03 -08:00
Andrew Kent
f68406113a
Remove helpers from agent
2017-12-18 16:44:12 -08:00
Andrew Kent
7f643ab680
Move jar utils to TestUtils
2017-12-14 18:40:40 -08:00
Andrew Kent
6a646009fa
Test system class sibling classloader
...
Test cases where the classloader of the instrumented class cannot
resolve agent advice classes.
2017-12-08 09:34:16 -08:00
Tyler Benson
d933a4049a
Move OkHttp instrumentation to byte buddy
2017-12-06 18:07:17 -08:00
Andrew Kent
4ebadf19de
Use ratpack to implemented embedded http test util
2017-12-04 13:13:25 -08:00
Andrew Kent
a7bfd1c4f5
Use CodeSource to test shadow package renames.
...
Forcing guava to version 18 prevented running the embedded ratpack
http server. Using codesource for the shadow test has the same effect
and doesn't require forcing a version of guava.
2017-12-04 11:42:26 -08:00
Andrew Kent
cbd1d3c794
Convert Junit tests to Spock
2017-12-01 16:38:57 -08:00
Andrew Kent
6fa303058f
ApacheHttpClient bytebuddy instrumentation and tests.
2017-12-01 10:54:32 -08:00
Andrew Kent
f48b793cb4
TestHttpServer for http client testing.
2017-12-01 10:34:40 -08:00
Andrew Kent
54a830ba9e
Enhance Cassandra trace testing.
2017-11-28 17:01:04 -08:00
Andrew Kent
637e27e88a
Explicitly inject on httpclientbuilder's classloader
2017-11-28 14:27:46 -08:00
Andrew Kent
47b1eec6da
Mongo Async Instrumentation and embedded mongo tests.
2017-11-27 09:18:49 -08:00
Tyler Benson
871ce37f80
Migrate JMS to Byte Buddy and add JMS 1 support
...
This does not yet include instrumentation for MessageListener.
I think there is actually no difference between the instrumentation so we should combine them.
I also added TEXT_MAP as a format that maps to the HTTP Codec. There is some remapping inside the instrumentation to remove dashes before setting as a property. This should also be changed when an official format is defined.
This also currently has a problem with Spring Boot applications as the JMS Util references classes not on the system classpath (it needs to be injected into the child classpath)
2017-11-17 12:06:30 -08:00
Andrew Kent
9cb097b783
Replace TracingCommandListener with DDTracingCommandListener
2017-11-13 10:34:07 -05:00
Tyler Benson
51f903acd6
Ensure helpers are injected on a classloader that has instrumented code.
2017-11-09 15:34:05 -05:00
Tyler Benson
c2d1ebab17
Run cassandra test last in separate vm
...
It’s super slow and uses a lot of memory.
2017-10-30 14:48:49 -07:00
Tyler Benson
cacba43435
Use byte buddy for @Trace instead of byteman.
2017-10-26 14:45:16 -07:00
Tyler Benson
f2d1f0c209
Capture and report errors and stacktraces
2017-10-13 16:32:13 +02:00
Tyler Benson
2775dd988e
Hardcode additional tag names
2017-10-13 16:03:19 +02:00
Tyler Benson
30721d00dc
Replace tomcat/jetty specific integ with generic servlet integ.
...
This should also work with things like Weblogic and Websphere with the main requirement being Servlet 2.3 or above compatibility.
2017-09-20 16:39:43 -07:00
Tyler Benson
9c39bb64ae
Fix aws version in readme, add finals and reformatting
2017-09-18 10:49:08 -07:00
Tyler Benson
4e106679a7
Move packages around and rename dd-trace inside agent
...
This avoids conflicts if the user already has dd-trace included in their app.
2017-09-11 15:00:00 -07:00
Tyler Benson
62c167de16
Inject helper classes into application’s classloader
...
This is important for things like Spring Boot’s executable jar classloader which keeps all the jars individually rather than on the system classloader.
2017-09-06 11:08:28 -07:00
Tyler Benson
2d3a12f3f1
Speed up integ tests by reducing scope for annotation scan.
2017-09-05 16:35:32 -07:00
Tyler Benson
0debc82d74
Remove dd-java-agent as a dependency for the integ test
...
This better simulates the classpath for an application where the agent is only added via the commandline.
2017-08-23 08:35:50 -07:00
Tyler Benson
5dff2f1249
Rename google and byteman dependencies
...
But exclude the ones that cause the tests to fail.
Also add a test to verify the correct version of guava is loaded with the agent running.
2017-08-08 12:29:14 -07:00
Emanuele Palazzetti
c5c750bd49
[elasticsearch] remove auto instrumentation; will be added later
2017-08-02 17:42:01 +02:00
Tyler Benson
ab791179ad
Generate a random trace ID instead of copying the span ID
2017-07-31 11:45:56 -07:00
Guillaume Polaert
864db966f1
Close span when exception exit ( #66 )
2017-07-27 21:09:25 +02:00
Tyler Benson
8420855deb
Apply some additional inspections and quick-fixs
2017-07-19 08:09:19 -07:00