Tyler Benson
4a943c8411
Use Spotless for formatting ( DataDog/dd-trace-java#1619 )
2020-06-30 11:15:48 -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
Nikita Salnikov-Tarnovski
de1fb295cb
Now publish all instrumentations as well. ( #565 )
...
* Now publish all instrumentations as well.
Changed groupId to `io.opentelemetry.instrumentation`.
Removed `opentelemetry` from auto-exporters' artifactIds.
Some instrumentations will need moving around to have better names, e.g. servlets. Should I do it right away?
* Polish
* Unify names of published artifacts
* Renamed some modules
* Fix CI config
* Rename project-reactor back to reactor
2020-06-27 08:57:24 +03:00
Nikita Salnikov-Tarnovski
bfd7f4428d
Propagate full Context while processing http server requests ( #573 )
...
* Propagate full Context while processing http server requests
2020-06-26 20:13:12 +03: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
Richard Startin
4e836f1c72
Replace remaining named disjunctions with namedOneOf or namedNoneOf ( DataDog/dd-trace-java#1584 )
2020-06-23 14:08:45 -07:00
Richard Startin
0fad251165
Introduce matcher for membership of a set of names ( DataDog/dd-trace-java#1583 )
2020-06-23 14:08:45 -07:00
Trask Stalnaker
126c972864
Optimization for expensive type matcher ( #558 )
2020-06-22 19:17:34 -07:00
Trask Stalnaker
4a26bd3ce7
Simplify setting of user.principal attribute ( #509 )
2020-06-13 12:11:03 +03:00
Trask Stalnaker
4b665dcbe2
Changed instrumentation tracer" TRACER.startSpan() to never return `null` ( #499 )
2020-06-12 16:15:38 -07:00
Tyler Benson
1b29184e7c
Make rootDir usage consistent ( DataDog/dd-trace-java#1518 )
2020-06-11 10:14:02 -07:00
Nikita Salnikov-Tarnovski
8ee54389da
Try to fix flaky test by replacing list comparison with set comparison ( #480 )
2020-06-08 20:00:38 +03: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
Tyler Benson
3bb17e1c3c
Remove deprecated usage from internal instrumentation ( DataDog/dd-trace-java#1441 )
2020-05-26 11:54:55 -07:00
Trask Stalnaker
e9096bb60d
Fix java google format ( #439 )
2020-05-26 08:42:48 +03:00
Nikita Salnikov-Tarnovski
6c8cd2e7f2
Change names of servlet based server spans ( #428 )
...
* Add documentation describing non-obvious points of Servlet instrumentations
* Change names of servlet based server spans
2020-05-25 12:53:12 -07:00
Nikita Salnikov-Tarnovski
6d0d3f54ce
Enable the following instrumentation by default: grizzly, jetty, spark-java ( #407 )
2020-05-17 10:19:35 -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
Tyler Benson
f540ae8fc1
Add null servlet context check ( DataDog/dd-trace-java#1414 )
2020-05-14 11:50:30 -07:00
Trask Stalnaker
6d1a58d151
Merge tag 'v0.50.0' into correct-history
2020-05-05 12:41:08 -07:00
Pontus Rydin
9568ba079b
Use Builder::setAttribute whenever possible ( #348 )
2020-04-27 13:51:34 -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
ce3d764ffa
Merge commit '437e0f343dcd66ac344556c03bd340ce791b1fdd' into correct-history
2020-04-21 12:55:51 -07:00
Trask Stalnaker
ecc26226dc
Merge tag 'v0.49.0' into dd-merge
2020-04-18 16:00:00 -07:00
Trask Stalnaker
7f76929cd5
Rename resource name to span name ( #327 )
2020-04-16 12:13:42 -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
4fe685d916
Remove component attribute ( #291 )
2020-03-29 20:32:19 -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
68bafd6e0c
Update instrumentation package names, A-J ( #266 )
2020-03-23 11:22:54 -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
4921fecdb1
Update instrumentation package names, K-Z ( #255 )
2020-03-19 22:19:22 -07:00
Trask Stalnaker
5287c4a0f1
Better span names for servlet ( #243 )
2020-03-19 21:23:52 -07:00
Trask Stalnaker
6142b7a2a4
Fix tracer names to match others ( #249 )
2020-03-19 14:10:17 -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
John Bley
1e1f3b57bb
Fix open-telemetry/opentelemetry-auto-instr-java#226 ( #228 )
2020-03-12 14:00:05 -07:00
Trask Stalnaker
cba031ddcb
Rename hibernate modules ( #205 )
...
* Rename hibernate modules
* Update tracer name
* Change from gradle inheritance to composition
This will make it possible to have empty "grouping" modules, e.g.
instrumentation:hibernate.
* Introduce empty hibernate grouping module
2020-03-09 15:33:21 -07:00
Trask Stalnaker
b2db595430
Merge tag 'v0.45.0' into dd-merge
2020-03-05 21:49:39 -08:00
Trask Stalnaker
9ff1fca3fd
Rename a few modules ( #207 )
...
* Rename classloading module to class-loader
* Rename datastax-cassandra module to cassandra
* Rename reactor-core module to reactor
* Rename cdi module to cdi-testing
* Rename aws-java-sdk module to aws-sdk
* Rename class-loader module to java-class-loader
2020-03-05 20:21:50 -08:00
Trask Stalnaker
701b282b17
Merge tag 'v0.44.0' into dd-merge
2020-02-29 14:30:12 -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
083988dbe8
Fix comment ( #186 )
2020-02-27 10:38:29 -08:00
Trask Stalnaker
8ee04d54e9
Merge remote-tracking branch 'datadog/master' into dd-merge
2020-02-22 14:35:03 -08:00
Trask Stalnaker
ebf3d78274
Remove Glassfish instrumentation ( #176 )
2020-02-21 11:01:17 -08:00