Commit Graph

4827 Commits

Author SHA1 Message Date
Munir Abdinur 556baecd55
[3.2] Create spring-webmvc-3.1-core project (#648)
* [3.2] create spring-webmvc-3.1-core project

* rebase and fix conflicts

* renamed project and removed instrumentation:spring-webmv-3.1 -> instrumentation-core:spring-webmvc-3.1 dependency

* update tracer

* ws

* Update instrumentation-core/spring/spring-webmvc-3.1/src/main/java/io/opentelemetry/instrumentation/springwebmvc/SpringWebMvcServerTracer.java

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

* Update spring-webmvc-3.1.gradle

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-07-10 19:45:40 +03:00
Nikita Salnikov-Tarnovski b77fb267f3
Gradle warnings (#659)
* More gradle warnings fixes

* Disable javadoc where it is definitely not needed

* Polish
2020-07-10 07:57:54 +03:00
Sergei Malafeev fcfee71e7b
Add B3 Single and Jaeger propagators (#658)
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
2020-07-09 19:55:47 +03:00
Anuraag Agrawal f3ed2d320a
Replace deprecated configurations in buildSrc (#653) 2020-07-09 17:00:45 +09:00
Anuraag Agrawal 2ef6aac61c
Separate out core reactor instrumentation (#650)
* Separate out core reactor instrumentation
2020-07-09 14:48:15 +09:00
Munir Abdinur c79be44de2
[1] Create spring-core project in instrumentation-core/spring (#640) 2020-07-08 20:48:54 -07:00
Nikita Salnikov-Tarnovski 763779e08a
Move servlet instrumentations around (#601) 2020-07-08 16:43:36 -07:00
Trask Stalnaker fedd805a44
Fix response header capture (#649) 2020-07-08 08:29:02 +03:00
Sergei Malafeev b78abac82c
#598 Rename "tags" to "attributes" (#645) 2020-07-07 21:03:41 -07:00
Anuraag Agrawal 8f3b7565b0
Shade AWS instrumentation library when using in agent (#644)
* Shade AWS instrumentation library when using in agent

* Cleanup and doc

* spotless
2020-07-08 12:36:55 +09:00
Nikita Salnikov-Tarnovski a62801649f
More fixes for Gradle warnings (#643)
* More gradle deprecation warnings fixed

* More gradle deprecation warnings fixed

* More fixes

* More fixes

Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
2020-07-07 15:02:07 +03:00
Nikita Salnikov-Tarnovski 3a4470f800
Server spans (#634)
* Milestone 1

* Netty 4.1 done

* Netty 4.0 done

* Netty 3.8 done

* All tests pass

* Test fix

* Last proper server tracers done

* Format fix

* Tests fixed

* Polish

* Polish
2020-07-07 13:48:51 +03:00
Anuraag Agrawal 817094a0f4
Add jvmargs to gradle.properties to provide more RAM when building (#642)
* Add jvmargs to gradle.properties to provide more RAM when building

* Update gradle.properties

* Update gradle.properties

* Update gradle.properties
2020-07-07 08:50:09 +03:00
Sergei Malafeev 9a5954a8ff
#593 Remove HttpClientTest.READ_TIMEOUT_MS (#635)
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
2020-07-07 08:24:42 +03:00
Nikita Salnikov-Tarnovski d09fa8a943
propagate context across thread pools (#638)
* propagate context across thread pools

* Revert spotbugs plugin version bump
2020-07-07 07:23:45 +03:00
Anuraag Agrawal 924a8fd9b0
Remove unused classes from reactor instrumentation (#641) 2020-07-07 13:04:24 +09:00
Sergei Malafeev 784a1115e7
#590 Remove -XX:MaxMetaspaceSize=1g from gradle.properties (#636)
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
2020-07-06 16:28:19 +03:00
Trask Stalnaker 4f48cf6565
Remove response -> request context store (#630)
* Simplify response to request context store

* Remove response to request context store

* Fix test
2020-07-05 14:39:38 +03:00
Anuraag Agrawal a56630762d
Update test for HTTP client conflict. (#631) 2020-07-03 09:12:03 +09:00
Anuraag Agrawal a0b0db5d3a
Map peer service in HttpClientDecorator. (#622)
* Map peer service in HttpClientDecorator.
2020-07-03 07:46:39 +09:00
Trask Stalnaker 10e917bfa9
Better JMS span names (#626) 2020-07-02 10:31:31 -07:00
Trask Stalnaker dce1d4026e
Remove tests on some Java versions to temporarily help control cost (#628) 2020-07-02 10:30:56 -07:00
Anuraag Agrawal 1aae2bd7f0
Add extension point for HTTP client decorators to return headers gene… (#623)
* Add extension point for HTTP client decorators to return headers generically instead of only user agent.
2020-07-02 14:29:21 +09:00
Anuraag Agrawal be7841ca33
Use gRPC Status for thrown exceptions too and remove redundant legacy… (#615)
* Use gRPC Status for thrown exceptions too and remove redundant legacy status attributes.
2020-07-01 12:22:09 +09:00
Trask Stalnaker b3dd5a020b
Simplify grizzly instrumentation, Part 2 (#618) 2020-06-30 20:02:19 -07:00
Trask Stalnaker e2a0504bb2
Simplify grizzly instrumentation, Part 1 (#604) 2020-06-30 17:44:11 -07:00
Tyler Benson c46623034a
Merge pull request #583 from trask/dd-merge 2020-06-30 15:26:56 -04:00
Björn Antonsson 91ad9965d3 Make build fail on spotless differences (DataDog/dd-trace-java#1627) 2020-06-30 11:15:50 -07:00
Richard Startin 9e28828cb5 Handle kafka tombstones (DataDog/dd-trace-java#1622) 2020-06-30 11:15:50 -07:00
Tyler Benson 4a943c8411 Use Spotless for formatting (DataDog/dd-trace-java#1619) 2020-06-30 11:15:48 -07:00
Richard Startin b558c50229 Add missing classloader matchers for expensive matchers (DataDog/dd-trace-java#1617) 2020-06-30 11:13:22 -07:00
Laplie Anderson de1aa4bf9b Remove noisy logging in InternalJarURLHandler (DataDog/dd-trace-java#1609) 2020-06-30 11:13:21 -07:00
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
Richard Startin cab03e0580 Remove anonymous class from spring webmvc-3.1 (DataDog/dd-trace-java#1611) 2020-06-30 11:13:21 -07:00
Nikolay Martynov d2e6c62a8d Enable build cache (DataDog/dd-trace-java#1607) 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
Richard Startin dfa000d92c Do not eagerly load classfiles at startup (DataDog/dd-trace-java#1606) 2020-06-30 11:13:20 -07:00
Richard Startin abd9744acc Route classloads to classloader by package (DataDog/dd-trace-java#1598) 2020-06-30 11:13:20 -07:00
Richard Startin 6d04a48ca1 Shorten jar names (prefixes of runtime classnames) (DataDog/dd-trace-java#1592) 2020-06-30 11:13:20 -07:00
Sergei Malafeev 5f70b521b7
#560 Consolidate src/main/java8 and src/main/java9 into src/main/java (#617)
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
2020-06-30 16:34:59 +03: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
Trask Stalnaker 40b96c54e6
Update to new formatting (#613) 2020-06-29 15:44:49 -07:00
Munir Abdinur f1a17e168e
Tutorial Section 2 [2/3] (#548) 2020-06-29 14:40:00 -07:00
Anuraag Agrawal be0c966854
Map gRPC status to OTel status. (#609) 2020-06-29 13:32:06 -07:00
Nikita Salnikov-Tarnovski 3418ebf6f7
More module renames (#610) 2020-06-29 13:28:39 -07:00
Trask Stalnaker 2b674dba57
Update Spring Web MVC name in README.md (#607) 2020-06-29 08:21:14 +03:00
Trask Stalnaker f37c1abe11
Fix JerseyClient sporadic test failure (#603) 2020-06-29 08:07:29 +03:00
Anuraag Agrawal ca0d6767ae
Add endpoint.peer.service.mapping property to allow a user to specify… (#562)
* Add endpoint.peer.service.mapping property to allow a user to specify mappings from an endpoint to a service name.

* Map endpoints to peer.service based on user mapping.

* Move to decorator

* Remove unnused

* WIP

* Groovy...

* Unused import

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-06-29 10:34:54 +09:00
Trask Stalnaker 1411c38ba4
Fix khttp sporadic test failure (#591) 2020-06-28 12:08:06 -07:00
Trask Stalnaker a4083c49aa
Update approvers list in CONTRIBUTING (#587) 2020-06-27 23:16:29 -07:00