Commit Graph

1131 Commits

Author SHA1 Message Date
Tyler Benson 5d1297f125 Extract a trace out to a specific class
Rather than it just be a list of spans…
This allows for tracking of if the trace was reported or not, and in the future to do so independently of finishing the span.
2018-03-09 14:31:48 +10:00
Tyler Benson 8da3a0492d Improve threadsafety and organization 2018-03-09 14:31:48 +10:00
Tyler Benson 9b1d454eb9 Combine Threadlocal and RefCounting into single Scope
Also added additional tests.
2018-03-09 14:31:48 +10:00
Tyler Benson 27c1d71504 Introduce ScopeContext and ReferenceCountingScopes 2018-03-09 14:31:48 +10:00
Jon Mort f78c290b40 Closes #222: Introduce a ScopeManager property 2018-03-09 14:31:48 +10:00
Andrew Kent 91c56dea96
Merge pull request #256 from DataDog/ark/exceptionhandler_stack_size
Set max stack size in bytebuddy exception handler
2018-03-07 17:19:33 -05:00
Andrew Kent 5ffd2142e9 Set max stack size in bytebuddy exception handler 2018-03-07 13:14:41 -05:00
Tyler Benson 22aa2d770f
Merge pull request #251 from DataDog/revert-248-ark/ci_publish
Revert "CI: publish branches prefixed with 'patch_release'"
2018-03-06 10:40:41 +10:00
Tyler Benson 7e700eaf1f
Revert "CI: publish branches prefixed with 'patch_release'" 2018-03-05 12:52:37 +10:00
Andrew Kent d1ccb2e724
Merge pull request #248 from DataDog/ark/ci_publish
CI: publish branches prefixed with 'patch_release'
2018-03-02 12:39:40 -08:00
Andrew Kent ddf0a284fe
Merge pull request #247 from DataDog/ark/remove_jackson_from_aws_helper
Remove Jackson from AWS Helper class
2018-03-02 12:05:33 -08:00
Andrew Kent 5e8f7ad862 CI: publish branches prefixed with 'patch_release' 2018-03-02 14:34:15 -05:00
Tyler Benson 3be3d11097 Try releasing from tags (#241) 2018-03-02 13:05:21 -05:00
Andrew Kent b2af7491a8 Remove Jackson from AWS Helper class 2018-03-02 13:01:31 -05:00
Andrew Kent 7957ccf65a
Merge pull request #245 from DataDog/tyler/global-tags
Configure tags to be added to every span
2018-03-01 07:03:36 -08:00
Tyler Benson 759fb4e815 Configure tags to be added to every span 2018-03-01 17:19:52 +10:00
Andrew Kent b3c8c3fd6b Begin 0.4.1 2018-02-27 12:49:38 -08:00
Andrew Kent 0bfa65fbf1 Version 0.4.0 2018-02-27 09:28:18 -08:00
Andrew Kent 837ba4f083
Merge pull request #240 from DataDog/tyler/fix-fallback
Fix test for v0.4 endpoint
2018-02-26 09:24:20 -08:00
Tyler Benson ac1b57d7a2 Fix test for v0.4 endpoint
Agent returns an error if no content sent, so test was failing.  Need to send empty content for test to succeed.
2018-02-26 13:50:32 +10:00
Tyler Benson 92e0ede2c0
Merge pull request #239 from DataDog/tyler/nano-resolution
Use nanotime for additional clock resolution
2018-02-23 13:20:08 +10:00
Tyler Benson 4c66bc8ed2 Use nanotime for additional clock resolution
If a start or stop timestamp on a span is provided, the nanotime is ignored.
2018-02-23 13:13:34 +10:00
Tyler Benson 72481c160d
Merge pull request #212 from gihad/jedis
Redis support via Jedis client
2018-02-23 13:11:52 +10:00
Tyler Benson 163b285868 Rename to jedis-1.4 since that’s the earliest working version
Also change instrumentation binding for better coverage.
2018-02-23 13:04:46 +10:00
Tyler Benson f4d2e6f600 Merge branch 'master' into jedis 2018-02-22 16:44:44 +10:00
Tyler Benson 574ba6d954
Merge pull request #237 from DataDog/tyler/set-timeout
Set timeouts on all the tests.
2018-02-22 13:16:04 +10:00
Andrew Kent 0812501aa3
Merge pull request #238 from DataDog/tyler/remove-deps
Remove unneeded dependencies on dd-trace-ot.
2018-02-21 09:35:11 -08:00
Tyler Benson 903248ddf2 Set timeouts on all the tests. 2018-02-21 12:09:57 +10:00
Tyler Benson a3a70e6ea3 Remove unneeded dependency on dd-trace-ot. 2018-02-21 12:08:05 +10:00
Tyler Benson 09c90afcb2
Merge pull request #236 from DataDog/tyler/set-timeout
Set short timeouts for api test to prevent startup delays
2018-02-21 08:14:10 +10:00
Tyler Benson c1224eaa9f Set short timeouts for api test to prevent startup delays
Since endpointAvailable is called on construct, this can happen in premain when running with the agent. I included a simple retry just in case…

Not sure in what case the trace agent would respond so slowly…
2018-02-20 17:43:26 +10:00
gihad 44dd384648 reusing declared values to make tests more roboust 2018-02-18 08:38:47 -05:00
gihad 692b6e7508 removed tabs for spaces 2018-02-18 08:24:54 -05:00
gihad 3613b9bd7d removed unused import 2018-02-17 22:35:45 -05:00
gihad 7c42e2e791 Added jedis instrumentation integration tests with embedded redis 2018-02-17 21:30:18 -05:00
Andrew Kent 3b0ba32ef2
Merge pull request #235 from DataDog/ark/spring_boot_package_folder
Move SpringBootBasedTest to package folder.
2018-02-16 16:15:01 -08:00
Andrew Kent c118e1b73d Move SpringBootBasedTest to package folder. 2018-02-16 13:42:27 -08:00
Andrew Kent 4dfcb1b5d0
Merge pull request #228 from DataDog/ark/classloader_feature_branch
Enhance Java Agent ClassLoading
2018-02-15 19:26:58 -08:00
Andrew Kent c6e883e042 Move bootstrap prefixes to classloader matcher 2018-02-15 19:17:19 -08:00
Andrew Kent 64e2173bf7 Set bootstrap delegation for osgi classloading 2018-02-15 19:17:19 -08:00
Andrew Kent 1820fbcbfd Bootstrap delegation for wildfly/jboss 2018-02-15 19:17:19 -08:00
Andrew Kent d0982ada9d Skip unsafe classloaders. 2018-02-15 19:17:19 -08: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
Andrew Kent 0864f81e45 whitelist ConfigUtils from jacoco 2018-02-15 18:50:18 -08:00
Tyler Benson 74b8f4d8d7 Begin 0.4.0 2018-02-15 10:15:12 +10:00
Tyler Benson ecca7274a9 Version 0.3.3 2018-02-15 10:12:43 +10:00