Commit Graph

7318 Commits

Author SHA1 Message Date
Trask Stalnaker 51e52427bb
Fix logback testLatestDeps (#5248) 2022-01-26 12:09:31 -08:00
Trask Stalnaker 477f7163f0
Some testLatestDeps cleanup (#5226) 2022-01-26 09:27:53 -08:00
Trask Stalnaker a5e0696af2
Improve log4j ContextDataProvider injection (#5216) 2022-01-26 09:26:49 -08:00
Trask Stalnaker 920c0327e0
Update release instructions (#5222) 2022-01-26 09:26:36 -08:00
Trask Stalnaker 953fd106a7
Fix vertx-http-client testLatestDeps Xlint errors (#5228)
* Fix vertx-http-client testLatestDeps

* fix
2022-01-25 20:58:48 -08:00
Trask Stalnaker 25d914f74b
Run CI on release branches (#5230) 2022-01-25 20:53:34 -08:00
Anuraag Agrawal d79c26f23d
Support AWS SDK v1 request object subclasses. (#5231) 2022-01-26 13:47:34 +09:00
Trask Stalnaker 5f4fc25a37
Update to OTel SDK 1.10.1 (#5218) 2022-01-25 13:42:45 -08:00
Trask Stalnaker 87d26ae185
Fix testLatestDeps lint error (#5219) 2022-01-25 13:18:35 -08:00
Lauri Tulmin efc5dc720a
Fix vaadin14 latest dep test (#5214) 2022-01-25 09:49:29 -08:00
Mateusz Rzeszutek edc185b133
Rename ServerSpanNaming to HttpRouteHolder (#5211)
* Rename ServerSpanNaming to HttpRouteHolder

* HttpRouteBiGetter
2022-01-25 09:44:15 -08:00
Lauri Tulmin f2a2786759
Recover from duplicate class definition errors (#5185)
* Recover from duplicate class definition errors

* fix hotspot8

* Suppress dupicate class definiton errors only when helper classes were injected

* exit define class context when there is an exception, update pseudocode in comment
2022-01-25 09:37:37 -08:00
Trask Stalnaker d2ffdd072d
Add release contributor script (#5207)
* Add release contributor script

* Feedback
2022-01-24 20:52:25 -08:00
Mateusz Rzeszutek 064d923b84
Actually fix redisson instrumentation after 3.16.8 release (#5201)
* Actually fix redisson instrumentation after 3.16.8 release

* try MethodHandles

* remove unneeded virtual fields
2022-01-24 15:51:56 -08:00
Anuraag Agrawal 74d428dbd2
Disable deprecation lint for testLatestDeps (#5208) 2022-01-24 16:48:46 +09:00
Anuraag Agrawal e04f52b9db
Enable java lint (#5182)
* Enable java lint

* Compile internal-lambda-java9 withot using --release flag (#34)

* Fix some custom testsets

Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
2022-01-24 12:45:42 +09:00
Lauri Tulmin c1280a9ee3
Limit latest dep version in aws sdk library-autoconfigure module (#5205) 2022-01-22 10:19:02 -08:00
Mateusz Rzeszutek 9381d5a264
Expected server span name for null route should be HTTP GET (#5197) 2022-01-21 19:35:48 -08:00
jason plumb fe8a132ee9
Factor out NetServerAttributesGetter (#5194)
* factor out NetServerAttributesGetter and favor composition over inheritance.

* Update instrumentation-api/src/main/java/io/opentelemetry/instrumentation/api/instrumenter/net/NetServerAttributesGetter.java

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

* errorprone and spotless

* spotless

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2022-01-21 17:01:30 -08:00
Trask Stalnaker 23fb0bd73b
Limit aws-sdk version for latest dep tests (#5202) 2022-01-21 15:19:09 -08:00
Lauri Tulmin 26aee0411d
Limit spring boot version in grails latest dep tests (#5199) 2022-01-21 09:33:46 -08:00
Trask Stalnaker 435c80c6e2
Use CLA approved user (#5195) 2022-01-21 09:31:03 -08:00
Mateusz Rzeszutek 3c8a192d1d
Limit redisson version to 3.16.7 (#5198)
* Limit redisson version to 3.16.8

* latestDepTestLibrary
2022-01-21 15:45:17 +02:00
Matthew Ho 66bf050bf8
Akka http server span names are always akka.request #3478 (#5150)
* Akka http server span names are always akka.request #3478
 - removed hardcoded span name "akka.request"
 - implemented route() in AkkaHttpServerAttributesExtractor to provide a better span name
 - retrofitted AkkaHttpServerInstrumentationTest.groovy

* Akka http server span names are always akka.request #3478
 - removed hardcoded span name "akka.request" and changed to "HTTP {METHOD}"
 - retrofitted AkkaHttpServerInstrumentationTest.groovy

* Akka http server span names are always akka.request #3478
 - removed hardcoded span name "akka.request" and changed to "HTTP {METHOD}"
 - retrofitted AkkaHttpServerInstrumentationTest.groovy

* Akka http server span names are always akka.request #3478
 - removed hardcoded span name "akka.request" and changed to "HTTP {METHOD}"
 - retrofitted AkkaHttpServerInstrumentationTest.groovy and related tests
2022-01-20 14:11:33 -08:00
dependabot[bot] 2177a22605
Bump EndBug/add-and-commit from 7 to 8 (#5190)
Bumps [EndBug/add-and-commit](https://github.com/EndBug/add-and-commit) from 7 to 8.
- [Release notes](https://github.com/EndBug/add-and-commit/releases)
- [Changelog](https://github.com/EndBug/add-and-commit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/EndBug/add-and-commit/compare/v7...v8)

---
updated-dependencies:
- dependency-name: EndBug/add-and-commit
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-20 14:09:02 -08:00
jack-berg 48f8031baa
Fix log4j appender docs (#5192) 2022-01-20 14:08:41 -08:00
Lauri Tulmin dadf1e4d71
Move reactor context propagation operator instrumentation to separate instrumentation module (#5188) 2022-01-20 11:00:48 -08:00
jason plumb c5c0a2bcdf
NetClientAttributesAdapter - favor composition over inheritance (#5030)
* first pass at separating NetAttributesAdapter interface and make NetClientAttributesExtractor concrete

* rename the implementations extractor -> adapter

* hide constructor and make factory method

* rename to client and add javadoc

* spotless

* finish javadoc thought

* rebase

* renamed NetClientAttributesAdapter to NetClientAttributesGetter

* fix lettuce

* code review comments

* code review comments -- renaming for consistency

* adapter -> getter

* fix ratpack

* adapter -> getter
2022-01-20 10:51:13 -08:00
Mateusz Rzeszutek 540e4cfafb
Remove HttpServerTest#extraAttributes() method (#5176)
* Remove HttpServerTest#extraAttributes() method

* fix ktor tests

* fix ratpack and restlet tests

* fix servlet2 tests

* Fix webflux and vertx tests
2022-01-20 10:41:41 -08:00
Lauri Tulmin 60da2d42d2
Update latest version link in README.md (#5187) 2022-01-20 10:25:01 -08:00
Trask Stalnaker d8a392210a
Remove unnecessary destroyMethod (#5179) 2022-01-20 11:39:34 +02:00
Anuraag Agrawal e6e2190f68
Fix most lint warnings. (#5180)
* Fix most lint warnings.

* Fix test
2022-01-20 18:28:45 +09:00
Christian Frommeyer d017d5f18a
SdkTracerProvider auto closed as separate Context Bean (#5124) (#5125) 2022-01-19 20:48:49 -08:00
Anuraag Agrawal ec375116be
Fix more lint warnings (#5174)
* Fix more lint warnings

* Redisable lint

* Drift

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-01-20 12:48:46 +09:00
Anuraag Agrawal 52394a2ff9
Remove deprecated tracer API (#5175)
* Remove deprecated tracer API

* Groovy too
2022-01-19 09:52:51 -08:00
Amir Blum e28235ffd6
fix(aws-sdk): use RPC attributes from spec (#5166)
* style: rename AwsSdkAttributes to AwsSdkHttpAttributes

* feat(aws-sdk-1.11): use rpc attributes from spec

* feat(aws-sdk-2.2): use rpc attributes from spec

* fix: update apache-camel test with aws-sdk rpc attributes

* chore: lint fix

* Update instrumentation/aws-sdk/aws-sdk-1.11/library/src/main/java/io/opentelemetry/instrumentation/awssdk/v1_11/AwsSdkRpcAttributesExtractor.java

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>

* Update instrumentation/aws-sdk/aws-sdk-2.2/library/src/main/java/io/opentelemetry/instrumentation/awssdk/v2_2/AwsSdkRpcAttributesExtractor.java

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2022-01-19 09:51:20 -08:00
Mateusz Rzeszutek 1ecf493332
Fix flaky micrometer retries in javaagent test (#5168)
* Fix flaky micrometer retries in javaagent test

* remove comment

* add clarifying comment
2022-01-19 18:43:50 +09:00
Lauri Tulmin f6c520a062
Hopefully fix flaky spring-rmi test (#5172) 2022-01-19 11:28:24 +02:00
Trask Stalnaker 98c112f0fb
Update release naming (#5173) 2022-01-19 17:10:37 +09:00
Lauri Tulmin c76345a973
Always set parent of agent class loader to bootstrap class loader (#5169)
* Always set parent of agent class loader to bootstrap class loader

* remove parent class loader argument
2022-01-18 19:36:28 -08:00
Mateusz Rzeszutek 4f29770f73
Remove old TraceUtils and use InstrumentationTestRunner#run*Span() (almost) everywhere (#5160)
* Remove old TraceUtils and use InstrumentationTestRunner#run*Span() (almost) everywhere

* Fix HTTP server tests

* Fix compilation failure

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-01-18 13:42:53 -08:00
Anuraag Agrawal bdd82a899e
Parameterize VirtualField field type (#5165)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-01-18 13:42:44 -08:00
Trask Stalnaker dd72e9e5f4
Update RELEASING.md (#5131)
* Update RELEASING.md

* Remove generate-release-contributors.sh

* Simplify
2022-01-18 12:07:12 -08:00
Javier Salinas 95e240c3e1
Ratpack httpclient (#4787)
* Add Ratpack HttpClient instrumentation

* Propagate trace through Ratpack HttpClient

* Add test to verify trace propagation

* Fix spotlessApply

* Use HTTP method as name for ratpack http client

* Add current Context to the execution

* Fix HttpClient tests

* Move Ratpack HttpClient tests to java package

* Remove nullaway conventions from library

* Add Context to ExecHarness executions

* Remove ContextHolder from execution

* Fix function test using other server stub

* Fix lazy other app

* Refactor ratpack client packages

* Rename getter method
2022-01-18 12:06:13 -08:00
Mateusz Rzeszutek 69fc3df19a
Try to make Spring RMI tests less flaky (hopefully) (#5164) 2022-01-18 10:58:45 -08:00
Mateusz Rzeszutek 816d322cbf
Fix flaky micrometer tests (#5171) 2022-01-18 10:54:41 -08:00
Mateusz Rzeszutek b57e3bdd6e
Bump version to 1.11.0-SNAPSHOT on the main branch (#5161) 2022-01-18 09:33:47 +01:00
Trask Stalnaker b337f68640
Add workflow to prepare release branch (#5143)
* Add workflow to prepare release branch

* Avoid third party action

* Use PAT

* Delete the branches

* Revert "Use PAT"

This reverts commit 6f0c1b11b6.
2022-01-17 22:58:11 -08:00
Trask Stalnaker 71685c1417
Simplify release workflow (#5144) 2022-01-17 22:23:25 -08:00
Mateusz Rzeszutek cee51bcf7e
Fix micrometer flaky test (#5157)
* Fix micrometer flaky test

* spotless
2022-01-17 10:35:15 -08:00