Andrew Kent
b5759bd15c
Add decorators to servlet tests
2018-03-13 12:46:48 -07:00
Andrew Kent
d4ad0a0051
Merge pull request #260 from DataDog/tyler/spring-error
...
SpringWebErrorHandler capture stacktrace, but not set error
2018-03-13 15:46:23 -04:00
Andrew Kent
216cf688a3
Merge pull request #259 from DataDog/ark/type_hunting
...
Check parent classloaders when resource location fails.
2018-03-13 13:51:01 -04:00
Tyler Benson
bbb0da22ab
SpringWebErrorHandler capture stacktrace, but not set error
...
We will rely on a decorator instead to do so.
2018-03-13 12:07:31 +10:00
Andrew Kent
87e09d7779
Merge pull request #258 from DataDog/ark/httpclientwrapper_fix
...
Trap agent errors in DDTracingClientExec
2018-03-12 21:23:43 -04:00
Andrew Kent
d7c2155054
Check parent classloaders when resource location fails.
2018-03-12 18:03:52 -07:00
Andrew Kent
c3c76c81e6
Trap agent errors in DDTracingClientExec
2018-03-12 16:33:13 -07:00
Andrew Kent
054ef0ff17
Merge pull request #233 from DataDog/configurable-scope-manager
...
Introduce ContextualScopeManager
2018-03-12 18:38:15 -04:00
Tyler Benson
0fbec69b6d
Merge pull request #253 from DataDog/tyler/traceinterceptor
...
Implement the TraceInterceptor API
2018-03-13 08:30:01 +10:00
Andrew Kent
34a8c0e126
Merge pull request #255 from DataDog/ark/scala_instrumentation
...
scala instrumentation
2018-03-12 13:43:50 -04:00
Andrew Kent
428e304164
Rename ContextPropagator to TraceScope
2018-03-12 10:29:50 -07:00
Tyler Benson
58c0dfa9cd
Remove API jar relocation
...
We expect customers to be using these also, so we can’t change them.
2018-03-12 12:08:27 +10:00
Andrew Kent
45aff57740
Assert on executor span relationships
2018-03-09 12:59:12 -08:00
Andrew Kent
21180530ea
Remove opentracing from dd-trace-api
2018-03-09 11:50:39 -08:00
Andrew Kent
4bebce2f56
Test propagation across non-tracing contexts
2018-03-09 11:50:39 -08:00
Andrew Kent
81b70fb0e4
Disable async instrumentation by default.
2018-03-09 11:50:39 -08:00
Andrew Kent
4a11fc6d96
Whitelist Executor Instrumentation
2018-03-09 11:50:39 -08:00
Andrew Kent
9a83413141
Executor Instrumentation for Scala
2018-03-09 11:50:39 -08:00
Tyler Benson
fb74c7b4cb
Wrap super/parent type matchers in failSafe
...
To prevent errors on injected classes.
2018-03-09 14:45:08 +10:00
Tyler Benson
286e9d2d00
Add instrumentation to catch additional classloaders.
...
Still doesn’t work with Spring Boot because the way they structure their Jars.
2018-03-09 14:32:41 +10:00
Tyler Benson
d073cd8a17
Initial pass at TraceInterceptor API
2018-03-09 14:32:41 +10:00
Andrew Kent
4fffb61a32
Enable bootstrap instrumentation and helper injection.
2018-03-09 14:31:48 +10:00
Tyler Benson
f57faba5db
Allow closing of continuation explicitly
...
to allow a completed trace to be reported more timely.
Continuation is closed when the returned scope is closed, but can also be closed directly.
2018-03-09 14:31:48 +10:00
Tyler Benson
087b2e7298
Fix tests
2018-03-09 14:31:48 +10:00
Tyler Benson
5c3e4c91fd
Rename to PendingTrace
2018-03-09 14:31:48 +10:00
Tyler Benson
2b1c9aabfb
Force traces to wait Continuation dereferencing before reporting
...
If all the current spans on a trace complete before a continuation can be activated, previously the trace could have been reported, not allowing additional spans to be added.
This PR changes it so any created continuations must be dereferenced (GC’d) before allowing the trace to be reported.
2018-03-09 14:31:48 +10: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
Tyler Benson
5cbc11415d
Move SpanFactory to correct package.
2018-03-09 14:31:48 +10:00
Tyler Benson
f31632be33
Remove deprecated usage.
2018-03-09 14:31:48 +10:00
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