Commit Graph

7042 Commits

Author SHA1 Message Date
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
Trask Stalnaker 336a73b0b3
Remove gradle scan publishing from CI (#4689)
* Remove gradle scan publishing from CI

* Remove doc too
2021-11-22 13:36:14 -08:00
Lauri Tulmin c53c8a0f01
Record exception for async servlet invocations (#4677)
* Record exception for asyn servlet invocations

* add back accidentally commented out line

* rearrange test so that it passes on both jetty and tomcat
2021-11-22 11:17:59 -08:00
Steven Aerts e01422736b
Automatic AWS library instrumentor (#4607)
Like AWS X-Ray, provide an instrumentor which automatically registers
opentelemetry instrumentation in the AWS SDK without any code changes.
Those instrumentors are separate libraries published as
opentelemetry-aws-sdk-1.11-instrumentor and opentelemetry-aws-sdk-2.2-instrumentor
2021-11-22 11:15:44 -08:00
Trask Stalnaker a9928b53fd
Don't block snapshot publishing on testLatestDeps (#4684) 2021-11-21 14:49:57 -08:00
Trask Stalnaker 2ddd01f304
Temporary fix for test latest deps (#4682) 2021-11-21 14:44:59 -08:00
Nikita Salnikov-Tarnovski 254a26745a
Start using Gradle Enterprise instance (#4663)
* Start using Gradle Enterprise instance

* Require opt-in to publish build scan from local machine

* Publish build scan only if authenticated

* Switch to GE cache
2021-11-21 18:53:55 +02:00
Trask Stalnaker 260c603784
Fix exemplars (#4678) 2021-11-20 10:42:06 -08:00
Trask Stalnaker 5b88f1bf05
Fix ratpack test latest deps (#4679) 2021-11-20 10:56:59 +02:00
Trask Stalnaker 6c98ba6b2b
Fix spring-kafka latest dep tests (#4676) 2021-11-19 13:12:18 -08:00
Trask Stalnaker 63e9cfa257
Bump version (#4675)
* Bump version

* more
2021-11-19 12:52:27 -08:00
Javier Salinas f86312e277
Support ratpack functional tests (#4605)
* Support manual initialization of OpenTelemetryServerHandler for ratpack functional tests

* Use getters to do not expose opentelemetry implementations of ExecInterceptor and Handlers

* Update instrumentation/ratpack-1.4/library/build.gradle.kts

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>

* Make OpenTelemtryServerHandler public to be binded from Guice and use directly in Ratpack Chain

* Add documentation to getters methods to support Ratpack Registry bindings

* Fix checkstyle in javadoc

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-11-19 11:22:10 -08:00
Anuraag Agrawal bcae1b11d3
Remove gRPC dependency for export (#4674) 2021-11-19 11:21:34 -08:00
Trask Stalnaker e6a9a6fd47
Fix spring-integration context leak (#4673) 2021-11-19 10:22:42 -08:00
Mateusz Rzeszutek ee32c41d35
Remove LongAdder and ClassValue usages from instrumentation-api (#4671) 2021-11-18 21:29:45 -08:00
Lauri Tulmin c7a4045404
Capture exception on finatra controller span (#4669)
* Capture exception on finatra controller span

* add return type check

* store VirtualField in a static field
2021-11-18 21:23:33 -08:00
Anna Nosek 16975acc67
add spring tests (#4670) 2021-11-18 11:11:22 -08:00
Trask Stalnaker f04f5771de
Build and test extensions with Java 8 (#4665) 2021-11-18 10:52:17 -08:00
Mateusz Rzeszutek 9235719839
Implement a dedicated reactor-netty 1.0 instrumentation (#4662)
* Implement a dedicated reactor-netty 1.0 instrumentation

* Apply suggestions from code review

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

* code review comments

* code review comments

* code review comments

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-11-18 10:27:47 -08:00