Commit Graph

7260 Commits

Author SHA1 Message Date
Mateusz Rzeszutek f2c2b755d2
Make AgentClassLoaderAccess methods public (#4770)
* Make AgentClassLoaderAccess methods public

* Update testing-common/src/main/java/io/opentelemetry/javaagent/testing/common/AgentClassLoaderAccess.java

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-12-02 12:48:46 +01:00
Lauri Tulmin c1abc01b2f
Fix vertx-reactive latest dep test (#4782) 2021-12-02 12:25:23 +02:00
Trask Stalnaker 31a258476a
Update release docs to use workflow from release branch (#4775)
* Update release docs

* update
2021-12-02 09:39:37 +02:00
Trask Stalnaker a9980cd014
Rename autoconfigure modules (#4779) 2021-12-01 22:03:12 -08:00
Trask Stalnaker 2bbd7365b3
Make testing agent jar more consistent with real agent jar (#4773) 2021-12-01 19:56:59 -08:00
Nikita Salnikov-Tarnovski 137225a511
Ask Animalsniffer to always produce report (#4768)
* Ask Animalsniffer to always produce report

* Update conventions/src/main/kotlin/otel.animalsniffer-conventions.gradle.kts

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-12-01 22:46:06 +02:00
Lauri Tulmin 313979a467
Fix http.url handing in vert.x 3 http client (#4739)
* Fix http.url handing in vert.x 3 http client

* correct version

* fix build

* if https test is disabled use http for non routable aadress test

* if https test is disabled use http for non routable aadress test

* use StringBuilder
2021-12-01 10:51:53 -08:00
Trask Stalnaker 55e0d86d95
Update change log for 1.9.1 release (#4753) (#4769) 2021-12-01 10:03:13 -08:00
Nikita Salnikov-Tarnovski 08e92a5374
Rework build scan configuration (#4763) 2021-12-01 09:27:45 -08:00
Lauri Tulmin b6aaa35813
Increase timeout for hystrix tests (#4762)
* Increase timeout for hystrix tests

* remove unused import
2021-12-01 08:25:13 -08:00
Samudraneel Dasgupta 1ff51fb2a8
Develop/rmi instrumentation (#4764)
* Remove new top level client span check from UnicastRefInstrumentation.java

* Instrument Remote instead of RemoteServer
2021-12-01 08:24:13 -08:00
Lauri Tulmin 8dab1ef4a9
Fix tests for vaadin 22 (#4761) 2021-12-01 12:46:55 +02:00
Nikita Salnikov-Tarnovski 9f4686cc3d
Move cache implementations to internal package (#4746)
* Move cache implementations to internal package

* Fix import

* Fix import order
2021-11-30 21:43:03 -08:00
Trask Stalnaker 67290e8d6e
Fix patch release workflow (#4758) 2021-11-30 20:41:29 -08:00
Trask Stalnaker c440f688a8
Update patch release docs (#4756) 2021-11-30 18:39:15 -08:00
Mateusz Rzeszutek f948ef8051
Use containerIpAddress instead of hard-coded 127.0.0.1 in rabbit tests (#4745)
* Use containerIpAddress instead of hard-coded 127.0.0.1 in rabbit tests

* Fix a situation where testcontainers returns 'localhost' instead of IP

* Fix a situation where testcontainers returns 'localhost' instead of IP

* Don't use the getContainerIpAddress() method, it'll be deprecated anyways
2021-11-30 15:25:23 -08:00
Lauri Tulmin 95f3d37b3f
Use ratpack 1.4.1 for testing (#4748)
* Use ratpack 1.4.1 for testing

* don't force netty version in ratpack tests

* spotless

* Apply suggestions from code review

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

* enable https test

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-11-30 15:02:23 -08:00
Nikita Salnikov-Tarnovski d20961621e
Cleaner manifest preservation (#4750)
* Cleaner manifest preservation

* Add explicit dependency
2021-11-30 07:57:14 -08:00
Trask Stalnaker 826008b580
Fix release tagging (#4741) 2021-11-30 07:56:43 -08:00
Lauri Tulmin f5142f24e9
Remove internal-proxy instrumentation (#4749) 2021-11-30 07:56:26 -08:00
Nikita Salnikov-Tarnovski 05e163e595
Allow using GE if locally authenticated (#4742) 2021-11-30 17:00:22 +02:00
Nikita Salnikov-Tarnovski b6b4cd67f0
Clean up of tests logging (#4744) 2021-11-30 16:19:09 +02:00
Lauri Tulmin 1e371377a1
Fix build (#4743)
* Fix build

* avoid npe
2021-11-30 14:07:07 +02:00
Lauri Tulmin 10288c6f25
Work around jvm crash on early 1.8 (#4345)
* Work around jvm crash on early 1.8

* skip retransform if class was already transformed during load

* fix imports after rebase

* add test

* disable test on windows
2021-11-29 22:47:10 -08:00
Trask Stalnaker f7efe07b06
Merge start and end time extractors (#4692) 2021-11-29 22:07:49 -08:00
Lauri Tulmin c79eed765f
Make JdbcData fields final (#4738) 2021-11-29 13:00:49 -08:00
Lauri Tulmin 92f83f10f0
Remove virtual field interfaces from reflection results (#4722)
* Remove virtual field interfaces from reflection results

* fix java8 and openj9
2021-11-29 12:09:28 -08:00
jack-berg 5c36ed3d23
Prototype Log4j2 Appender (#4375)
* WIP

* Use Log SDK snapshot

* Update to 1.9.0 release, refine

* Remove appenders from common log config

* Respond to PR feedback

* Update readme

* Switch to compileOnly log sdk dependency, use logger name as instrumentation name

* Switch to minimalist LogEvent mapping

* PR feedback

* PR feedback
2021-11-29 09:46:32 -08:00
Nikita Salnikov-Tarnovski f525f3e03f
Some logging cleanup (#4734) 2021-11-29 09:45:23 -08:00
Trask Stalnaker 9b49fc5ae8
Publish gradle scans from PRs (#4696) 2021-11-29 09:32:56 -08:00
Nikita Salnikov-Tarnovski 50bfdd1043
Upgrade testcontainers version (#4727)
* Upgrade testcontainers version

* Polish

* Use more stable waiting strategy

* Upgrade all remaining testcontainrs usages
2021-11-29 09:32:41 -08:00
Lauri Tulmin b287c8d1d0
Enable read timeout test for some http clients (#4702)
* Enable read timeout test for some http clients

* remove unused import

* use separate client for read timeout request
2021-11-28 13:18:26 -08:00
Nikita Salnikov-Tarnovski 0aa888a014
Upgrade plugins versions (#4723) 2021-11-28 14:38:54 +02:00
Anuraag Agrawal 1f6a42de2f
Shade class references within AWS SDK service files. (#4719) 2021-11-26 20:20:23 +09:00
Trask Stalnaker a83d074863
Bump version to 1.10.0-SNAPSHOT (#4711) 2021-11-25 20:41:42 -08:00
Trask Stalnaker 09d5883fb8
Update supported application servers (#4715)
* Update naming to Payara

* Alphabetize

* Update supported application servers

* A little more clarity?
2021-11-25 08:15:35 -08:00
Trask Stalnaker 54ab8fec80
Update patch release workflow (#4713) 2021-11-25 18:49:49 +09:00
Anuraag Agrawal f7365288fd
Fix release build (#4712) 2021-11-24 22:13:08 -08:00
Trask Stalnaker 67353e934a
Fix release build yaml (#4710) 2021-11-24 20:06:01 -08:00
Trask Stalnaker e417609b53
Update release process (#4709)
* Update release process

* Document how to create release branch

* wording
2021-11-24 19:45:46 -08:00
Trask Stalnaker f792f05826
Update change log for 1.9.0 release (#4708)
* Update change log for 1.9.0 release

* Update change log

* Updates
2021-11-24 18:56:06 -08:00
Trask Stalnaker 761b6b4e59
Remove backwards compatible -all artifact (#4707) 2021-11-24 15:54:12 -08:00
Trask Stalnaker f9146bcf48
Update other gradle wrappers to 7.3 (#4705) 2021-11-24 13:19:53 -08:00
Trask Stalnaker ea7588cd15
Update references to master branch (#4706) 2021-11-24 13:11:21 -08:00
Trask Stalnaker 195c1f733e
Remove nebula references (#4704) 2021-11-24 13:07:54 -08:00
Mateusz Rzeszutek 9a4a68d836
Add Android API-friendliness checks (#4505)
* Add Android API-friendliness checks

* Improve comments

* Remove ignores

* Handle CompletionException

* Spotless

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-11-24 12:59:11 -08:00
Lauri Tulmin 903926904d
Fix spring webmvc latest dep test (#4687)
* Fix spring webmvc latest dep test

* review comments

* remove latest dep version restriction
2021-11-24 09:20:50 -08:00
Nikita Salnikov-Tarnovski 821a4b870b
Drop instrumentation-api-caching module and move weak cache implementation to instrumentation-api (#4667)
* Drop instrumentation-api-caching module and move weak cache implementation to instrumentation-api

* Some test fixes

* Some cleanup

* Temporary workaround for using weak values in FutureListenerWrappers

* Spotless

* Update ClassNames and SpanNames

* Compilation and comment

* Add bounded cache and clean interface

* Polish

* Add comment

* Vendor ConcurrentLinkedHashMap in

* Let errorprone ignore vendored CLHM for now

* Keep license in java files too

* Convert Netty wrapper cache to VirtualField

* Work around lambda instrumentation failure

Ideally we would ignore instrumenting helper classes...

* Revert "Work around lambda instrumentation failure"

This reverts commit 6d63815b44.

* Revert "Convert Netty wrapper cache to VirtualField"

This reverts commit dac1522a3f.

* Handle cleared weak values

* Fix comment

* Delete instrumentation-api-caching

* Copy in weak-lock-free

* Remove caffeine remnants

* Fix checkstyle

* Rename BoundedCache to MapBackedCached

* Remove duplicate LICENSE

* Remove outdated comment

* Sync with SDK copy of weaklockfree

* Enable checkstyle:off comment

* Re-generate license report

* Move NOTICE file to package-info.java

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-11-24 09:05:12 -08:00
Anuraag Agrawal a5326344bd
Update to OTel 1.9.1 (#4700) 2021-11-24 17:47:23 +09:00
Lauri Tulmin fac60ddb3c
Enable read timeout test for HttpURLConnection (#4699) 2021-11-23 10:30:45 -08:00