Richard Startin
6b0ee86c99
Exclude JDK class references at build time, reduce allocation in ReferenceMatcher ( DataDog/dd-trace-java#1613 )
2020-06-30 11:13:21 -07:00
Laplie Anderson
45dc02d964
Fix Spring handler mapping affecting character encoding ( DataDog/dd-trace-java#1595 )
2020-06-30 11:13:20 -07:00
Anuraag Agrawal
77654a44bc
Always translate HTTP status code to Status ( #606 )
...
* Translate HTTP status code to Status
2020-06-30 08:27:52 +09:00
Nikita Salnikov-Tarnovski
3418ebf6f7
More module renames ( #610 )
2020-06-29 13:28:39 -07:00
Anuraag Agrawal
874b157fe5
Newline between license and package. ( #581 )
2020-06-25 13:31:16 -07:00
Nikita Salnikov-Tarnovski
9a52f6708e
Gradle dependencies cleanup ( #556 )
...
* Bootstrap fixed
* Tooling fixed
* Testing fixed
* All instrumentation tests pass
* All tests pass
* Fix test
* Muzzle workaround
* Muzzle fix
* Update instrumentation/trace-annotation/trace-annotation.gradle
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-06-24 12:01:14 +03:00
Lev Priima
da15d0de64
ApacheHttpClientRedirectInstrumentation copy headers from original request to redirect if original redirect headers were empty ( DataDog/dd-trace-java#1539 )
2020-06-23 14:08:44 -07:00
Anuraag Agrawal
918d3913e3
Populate user-agent in HTTP clients. ( #540 )
2020-06-22 21:13:12 -07:00
Nikita Salnikov-Tarnovski
c11835963f
Vert.x instrumentation improvements ( #503 )
...
* Support for Vert.x rx-java async tasks
* Use Vert.x route for server span name
* Move reactive Vert.x instrumentation into separate module
* Test fixes
* Format fixes
* Polish
* Fix license header
* Add Vert.x to README
2020-06-13 23:18:30 +03:00
Tyler Benson
1b29184e7c
Make rootDir usage consistent ( DataDog/dd-trace-java#1518 )
2020-06-11 10:14:02 -07:00
Nikita Salnikov-Tarnovski
357fb6e989
Deduplicate servlets ( #469 )
...
* Servlet instrumentations unified
* Grizzly migrated
* Fix tests after merge
* Polish and fix tests
* Polish and fix tests
* Muzzle fixes
* Muzzle fixes
* Muzzle fixes
* Test fixes
* One more check fixed
* Stop using SpanWithScope
* Test fix
* Compilation fix
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Update agent-bootstrap/src/main/java/io/opentelemetry/auto/bootstrap/instrumentation/decorator/HttpServerTracer.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Polish
* Tracer does not manage scope anymore
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-06-08 10:49:58 +03:00
Nikita Salnikov-Tarnovski
1c59062aae
0.5.0 ( #476 )
...
* Update to otel-java 0.5.0-SNAPSHOT (#462 )
* Update to otel-java 0.5.0-SNAPSHOT
* Tests pass
* Check fix
* Switch to otel-java 0.5.0
* Add TODOs
2020-06-05 20:11:49 +03:00
Trask Stalnaker
015be46ec2
Remove unnecessary version constant ( #455 )
2020-05-31 06:31:38 +03:00
Trask Stalnaker
dbec1fbd97
Fix sporadic grizzly test failure ( #448 )
2020-05-28 10:25:49 +03:00
Trask Stalnaker
5c7e321521
Fix sporadic Elasticsearch test failures ( #444 )
2020-05-27 12:20:51 -07:00
Anuraag Agrawal
d4a14f6b98
Separate out core instrumentation for AWS SDK to allow manual setup o… ( #421 )
...
* Separate out core instrumentation for AWS SDK to allow manual setup of instrumentation.
* Instrumentation core test
2020-05-27 10:43:56 -07:00
Richard Startin
d8c9639fbb
Grizzly-http and grizzly-client instrumentation ( DataDog/dd-trace-java#1365 )
2020-05-26 11:54:59 -07:00
Nikita Salnikov-Tarnovski
6cfe2256ef
Use java 11 for compilation ( #390 )
...
* Allow compiling of everything with java 11
* Instruct CircleCI to use java 11 be default
* Forbid running some tests on java11
* Muzzle uses ClassLoader.platformClassLoader as parent for user-space classloader
2020-05-14 15:13:30 -07:00
Lev Priima
fbf31d3a39
Don't listen 0.0.0.0 in tests ( DataDog/dd-trace-java#1434 )
2020-05-14 11:50:31 -07:00
Trask Stalnaker
55211ccd73
Fix sporadic test failure ( #386 )
2020-05-11 20:53:49 -07:00
Nikita Salnikov-Tarnovski
e54f316b27
Add support for new @WithSpan annotation ( #379 )
2020-05-06 13:05:11 -07:00
Trask Stalnaker
62e43d3e54
Bring back code coverage verification ( #357 )
2020-04-28 15:27:44 -07:00
Nikita Salnikov-Tarnovski
25740536a1
FieldBackedProviderFieldInjectionDisabledTest was never run due to broken config ( #347 )
2020-04-27 12:43:48 -07:00
Trask Stalnaker
f9e74ac9c6
Fix some sporadic test failures ( #354 )
...
* Fix some sporadic test failures
* Improve Jetty test advice
* Fix smore sporadic test failures
* Improve test consistency
2020-04-27 11:40:27 -07:00
Trask Stalnaker
2d2f4a953e
Fix some sporadic failures ( #349 )
2020-04-24 13:06:56 -07:00
Trask Stalnaker
ecc26226dc
Merge tag 'v0.49.0' into dd-merge
2020-04-18 16:00:00 -07:00
Trask Stalnaker
16833a8c30
Rename ListWriter to InMemoryExporter ( #328 )
2020-04-16 13:47:12 -07:00
Trask Stalnaker
1f0cd54fd7
Remove copyright year from license header ( #322 )
...
* Update template
* Apply template
2020-04-15 11:24:44 -07:00
Trask Stalnaker
a333cfe536
Remove unused getComponentName ( #314 )
2020-04-14 13:29:33 -07:00
Trask Stalnaker
bf5b009ef8
Remove unused code ( #319 )
...
* Remove unused/deprecated code
* Remove unused code
* Remove unused return value
* Remove unnecessary throws clauses
* Remove unused code
* Remove default attribute value
* Remove unused code
* Remove unused code
* Remove unused code
* Remove unused constants
* Remove unused constant
* Remove unused parameter
* Remove unused PostMatchHook
* Remove unused constants
2020-04-14 12:29:24 -07:00
Trask Stalnaker
d24159c8d2
Merge tag 'v0.48.0' into dd-merge
2020-04-12 15:20:10 -07:00
Trask Stalnaker
c545ffa3c2
Merge tag 'v0.47.0' into dd-merge
2020-04-06 13:26:15 -07:00
Trask Stalnaker
4fe685d916
Remove component attribute ( #291 )
2020-03-29 20:32:19 -07:00
Trask Stalnaker
570fa012c0
Remove service.name attribute ( #290 )
2020-03-29 20:29:15 -07:00
Trask Stalnaker
2e210683fd
Update to OpenTelemetry API/SDK 0.3.0 ( #286 )
...
* Update gradle dependencies and module name
* Replace Tracer.withSpan() with currentContextWith()
* Update inject to 0.3.0
* Update extract to 0.3.0
* More updates
* Remove distributedcontext package refs
* Update OpenTelemetry API interoperability
* No need to call setNoParent()
setParent(SpanContext.getInvalid()) should give the same result.
2020-03-28 19:38:51 -07:00
Trask Stalnaker
8fa84cb77b
Remove remaining resource.name attributes ( #278 )
...
* Remove resource.name validation from ignored tests
* Remove resource.name from test spans
* Remove unused parameter
* Change servlet dispatcher attribute name
2020-03-23 09:51:57 -07:00
Trask Stalnaker
396baa69d6
Update OpenTelemetry API/SDK ( #257 )
...
* Update dependency version
* Change getTracerFactory to getTracerProvider
* Update some imports
* Change put to set
* Fix up bridge
* Update package names
* Update test SpanProcessor
* Remove null conditionals around setAttribute
* Update shading
* Update span context extraction
2020-03-20 14:13:55 -07:00
Trask Stalnaker
8700b2eb33
Remove span.type attribute ( #262 )
2020-03-20 13:05:00 -07:00
Trask Stalnaker
007029b122
Better span names for jdbc ( #238 )
2020-03-19 19:50:51 -07:00
Trask Stalnaker
d70f4ded94
Better span names for mongo ( #242 )
2020-03-19 14:11:24 -07:00
Trask Stalnaker
a8f86d154f
Follow common childOf verification convention ( #251 )
2020-03-19 14:09:47 -07:00
Trask Stalnaker
d4740894d1
Follow static import convention ( #254 )
...
* Follow static import convention
* Follow decorator static field name convention
2020-03-19 13:52:20 -07:00
Trask Stalnaker
2298885678
Merge tag 'v0.46.0' into dd-merge
2020-03-16 11:25:27 -07:00
Han Zhang
5b1218cdb8
Update instrumentation to be compliant with HTTP semantic conventions ( #227 )
...
* Update HTTP client-side span names
* Add query and fragment to http.url for HTTP client spans
* Add query and fragment to http.url for HTTP server spans
* Update HTTP server span names to be the matched route or resource
* Use net.peer.* instead of peer.* attributes
2020-03-12 18:49:52 -07:00
Trask Stalnaker
ea74337c10
Redo log capture instrumentation ( #212 )
...
Make it clear that this is experimental option, as the specifics of log
capture will definitely change sometime in the future once there is an
agreed on OpenTelemetry spec for this.
Capture logs as spans, to avoid the limitations of current
implementation that captures them as events (no log capture when no
current span, and limited number of events per span).
Change the log instrumentation module names to just reflect the
underlying logger, e.g. "log4j-1.1" instead of "log4j-spans-1.1". This
way we don't end up with an entirely deprecated artifact once the
logging spec is worked out. The spans instrumentation now shares modules
with the MDC instrumentation, which I think is reasonable, as you pick
which one you want via configuration.
2020-03-06 13:05:44 -08:00
Trask Stalnaker
b2db595430
Merge tag 'v0.45.0' into dd-merge
2020-03-05 21:49:39 -08:00
Trask Stalnaker
f91549e799
Simplify some tests by using runUnderTrace ( #204 )
2020-03-05 09:50:41 -08:00
Trask Stalnaker
40e3932358
Add license headers ( #188 )
...
* Add spotless gradle plugin
* Add license headers
2020-02-27 13:24:42 -08:00
Trask Stalnaker
f4011b63e3
Capture gRPC messages as events instead of child spans ( #185 )
...
* Capture gRPC messages as events
* Rename verification method to avoid conflicts
It's common to have a 'name' test parameter/field which then causes
conflicts with verification method of the same name 'name'.
2020-02-27 11:18:30 -08:00
Trask Stalnaker
8ee04d54e9
Merge remote-tracking branch 'datadog/master' into dd-merge
2020-02-22 14:35:03 -08:00