Commit Graph

4862 Commits

Author SHA1 Message Date
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
Anuraag Agrawal b0237a8981
Don't set IP address for net.peer.name and set name for failed DNS lo… (#584)
* Don't set IP address for net.peer.name and set name for failed DNS lookup

* Private

* Don't require IPv6 to run unit test

* PR suggestion (#1)

* PR suggestion

* Make test pass on Windows

* final

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-06-28 12:32:40 +09: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
Trask Stalnaker 68cd141e00
Add new approver @anuraaga (#585) 2020-06-26 13:10:36 -07: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
Trask Stalnaker 091a829c37
Parallelize check build (#577)
* Parallelize check build

* Require check for test jobs

* Consolidate check into build job

* Consolidate check into build job

* intentionally break formatting

* Revert "intentionally break formatting"

This reverts commit 58ce89ebdf.

Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
2020-06-26 08:19:11 +03:00
Nikita Salnikov-Tarnovski fc2d679259
Propagate context (#572)
* First cut on propagating full Context instead of just Span

* First cut on propagating full Context instead of just Span

* Polish

* Polish

* Format
2020-06-26 08:18:14 +03:00
Trask Stalnaker 7b923be87f
Fix CircleCI job name (#582) 2020-06-26 07:27:14 +03:00
Anuraag Agrawal 874b157fe5
Newline between license and package. (#581) 2020-06-25 13:31:16 -07:00
Trask Stalnaker 680e3ee3d2
Support metric reader config (#576) 2020-06-25 07:39:47 +03:00
Nikita Salnikov-Tarnovski 2292d9a98a
Restore accidentally deleted snapshot publishing job (#574) 2020-06-24 09:46:06 -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
Anuraag Agrawal 6f5f67327f
Provide an SPI that an agent distribution or intiializer can use to c… (#561) 2020-06-23 20:21:00 -07:00
Tyler Benson 83753d6ed0
Merge pull request #553 from trask/dd-merge 2020-06-23 17:26:26 -04:00
Nikolay Martynov 84d4e24989 Upgradle gradle to 6.5 (DataDog/dd-trace-java#1589) 2020-06-23 14:08:46 -07: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