Commit Graph

384 Commits

Author SHA1 Message Date
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 5ffd2142e9 Set max stack size in bytebuddy exception handler 2018-03-07 13:14:41 -05:00
Tyler Benson 759fb4e815 Configure tags to be added to every span 2018-03-01 17:19:52 +10: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 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 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 903248ddf2 Set timeouts on all the tests. 2018-02-21 12:09:57 +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
Tyler Benson c9da16f334 Add resource naming instrumentation for jax-rs 2018-02-14 19:18:01 +10:00
Tyler Benson 0299a7b9ae Remove unused config utils file. 2018-02-13 09:07:53 +10:00
Tyler Benson 9fc5cf6a4b Add exception for version segments in URLs
This seems like a common enough segment and useful to not remove.
2018-02-09 12:54:13 +10:00
Tyler Benson 0b4bf16f97 Remove configuration of ResourceName Decorator
Improve name sanitizing to reduce high cardinality issues.
2018-02-08 17:26:04 +10:00
Tyler Benson 1bfceb0d53 Use Field.ERROR_OBJECT instead of string 2018-02-07 12:02:10 +10:00
Tyler Benson 7d28a32fba Allow instrumentation to be disabled
By default, instrumentation is enabled, and can be disabled by default by overriding the `defaultEnabled` method. Instrumentation can also be disabled individually or enabled when default is disabled.
2018-02-06 11:20:05 +10:00
Andrew Kent 6f088ddd53 Remove trace decorator yaml config 2018-01-31 16:13:41 -08:00
Andrew Kent 8d53e4703d Set span.type for all integrations. 2018-01-31 16:13:41 -08:00
Andrew Kent 228f896bb6 Move default decorators to code 2018-01-31 13:18:28 -08:00
Andrew Kent 7920cc9d8e Set span.type tag 2018-01-31 12:22:43 -08:00
Andrew Kent 919eefe818 Write json for loggingwriter 2018-01-31 12:22:43 -08:00
Tyler Benson 92b6cc86f6 Move deprecation for 0.31.0 2018-01-22 16:42:21 -05:00
Ark cfe1224924 Make priority sampling fields volatile 2018-01-22 11:35:36 -08:00
Andrew Kent c1f9f4fc5d Remove priority sampling logic from DDTracer 2018-01-22 11:35:36 -08:00
Andrew Kent 3a76347a21 Remover RateSampler and sampler config options 2018-01-22 11:35:36 -08:00
Andrew Kent c7447bfadb Priority Sampling flag in DDSpanContext 2018-01-22 11:35:36 -08:00
Andrew Kent 2695157b92 Priority Sampling Config 2018-01-22 11:35:36 -08:00
Andrew Kent aa5356837d RateByServiceSampler 2018-01-22 11:35:36 -08:00
Andrew Kent 1fc7950ee9 Support v4 api with fallback to v3 2018-01-22 11:35:36 -08:00
Andrew Kent 7b03f4e91f priority sampling values 2018-01-22 11:35:36 -08:00
Andrew Kent 9f5f2e9a1d Convert Trace Junit tests to Spock 2018-01-22 11:35:36 -08: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