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
Jordie
29702d537e
Spelling/grammar fix in MuzzleGradlePluginUtil.kt ( #5142 )
2022-01-17 10:33:41 -08:00
Trask Stalnaker
5d933615b2
Remove fetch-depth ( #5145 )
2022-01-17 10:27:36 -08:00
Amir Blum
5c0954c231
chore: add bin directories to .gitignore for vsc ( #5158 )
2022-01-17 10:26:43 -08:00
Anuraag Agrawal
b7a95857c7
Fix some java lint warnings ( #5120 )
...
* Convert InstrumentationTestRunner from interface to abstract class
* Foo
* Commit
* Revert unintended
2022-01-17 10:26:03 -08:00
Trask Stalnaker
eea7c0f1dc
Fix publishing gradle plugins ( #5132 )
2022-01-17 18:33:26 +01:00
Trask Stalnaker
f9a9dcb769
Fix release failure ( #5129 )
...
* Revert "Disable jar task in javaagent module (#4765 )"
This reverts commit 63c8b55d68
.
* Add comment
2022-01-17 18:32:59 +01:00
Trask Stalnaker
e86a46039d
More gradle build action cleanup ( #5140 )
...
* Remove unnecessary gradle wrapper caching
* Convert more to gradle-build-action
2022-01-15 18:47:16 -08:00
Trask Stalnaker
f73c714c8a
Update change log ( #5141 )
2022-01-15 14:46:58 -08:00
Trask Stalnaker
615bc0c60f
Remove unnecessary lines ( #5128 )
2022-01-15 10:03:15 -08:00
Trask Stalnaker
e28b9b7ecb
Add workflow to release just gradle plugins ( #5135 )
2022-01-15 10:01:33 -08:00
Samudraneel Dasgupta
3b0c49094d
Spring RMI instrumentation ( #5033 )
...
* Spring RMI instrumentation
* Change the order of import statements
* remove extra separation in import statements
* stylistic changes
* Fix groovy rule violations
* Formatting changes in groovy file
* Spotless fixes and muzzle check version change
* Fixed minimum version in filenames and fixed muzzle check
* single InstrumentationModule and added context propagation test
* Merged singletons, use random port in test and add stricter matchers.
* Remove unused import
2022-01-14 13:56:40 -08:00
acm19
a8069370ad
Fix serialisation exception on default lambda events ( #4724 )
...
Adds `FAIL_ON_UNKNOWN_PROPERTIES` to the paramter parser on the lambda
as events coming from AWS have more fields than those represented in the
libraries provided by AWS. Adds a custom `JodaModule` to the same
parser to support `ScheduledEvent` which for now uses Joda Time. At the
same time avoid the real Joda Module to not have extra dependencies.
Resolves: https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/4645
2022-01-14 13:54:50 -08:00
Mateusz Rzeszutek
872c6c7d80
Add `http.route` to the server span when `ServerSpanNaming` is updated ( #5086 )
...
* Add `http.route` to the server span when `ServerSpanNaming` is updated
* fix camel tests
* fix test compilation failure
* assert route in camel instrumentation
2022-01-14 13:52:06 -08:00
Lauri Tulmin
40ce04028a
Fix flaky OpenTelemetryInstallerTest ( #5123 )
2022-01-14 10:22:44 -08:00
Anuraag Agrawal
a3681901ff
Convert InstrumentationTestRunner from interface to abstract class ( #5112 )
2022-01-14 10:21:31 -08:00
Mateusz Rzeszutek
262a8734ca
One more micrometer AsyncInstrumentRegistry fix ( #5118 )
2022-01-14 10:00:49 -08:00
Anuraag Agrawal
a1274b7671
Mark recent gradlew executable ( #5116 )
2022-01-14 09:59:12 -08:00
Mateusz Rzeszutek
9583ca6246
Fix resteasy muzzle ( #5121 )
2022-01-14 11:53:48 +01:00
Trask Stalnaker
22c2691773
Fix workflow_dispatch ( #5113 )
2022-01-13 22:29:30 -08:00
Trask Stalnaker
6ac09a3bfb
Update changelog for 1.10.0 ( #5091 )
...
* Update change log for 1.10.0
* Format
* Add micrometer library instrumentation
* Clarifications
* One more
2022-01-13 19:01:44 -08:00
Trask Stalnaker
1832772ccd
Update supported libraries ( #5092 )
...
* Update supported libraries
* One row per library
2022-01-13 18:02:08 -08:00
jason plumb
7266aefb58
Add smoke test for logs signal ( #5108 )
...
* add smoke test for logs signal
* very important to remove the unused variable in the groovy test
* run on LTS jdks
2022-01-13 11:47:47 -08:00
Mateusz Rzeszutek
6eeb6ccfd0
Fix flaky micrometer tests ( #5106 )
...
* Fix flaky micrometer tests
* Add comment
2022-01-13 11:47:37 -08:00
Nikita Salnikov-Tarnovski
d81049a174
Make nightly-no-cache.yml send scans to GE ( #5107 )
2022-01-13 10:55:24 -08:00
jason plumb
963b5cc087
Connect AgentLogEmitterProvider global during OpenTelemetryInstaller ( #5088 )
...
* during install, hook up the log emitter provider for instrumentation to use.
* spotless
* Fix tests
* Default instrumentation name to ROOT when logger name null/empty
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-01-13 08:31:02 -08:00
Trask Stalnaker
fce227785f
Fix smoke test servlet image publishing ( #5102 )
2022-01-13 08:41:53 +02:00
Trask Stalnaker
6043e065d4
Use github action env files ( #5099 )
2022-01-12 20:09:56 -08:00
Mateusz Rzeszutek
9299567a96
Micrometer library instrumentation ( #5063 )
2022-01-12 20:06:27 -08:00
Trask Stalnaker
00e0920913
Apply gradle github action everywhere ( #5089 )
2022-01-12 19:35:18 -08:00
Trask Stalnaker
26e93e4068
Merge 1.9.2 change log entry ( #5090 )
2022-01-12 16:57:44 -08:00
Lauri Tulmin
0624b6561e
Add debug logging to SpringTemplateJms1Test ( #5087 )
2022-01-12 16:13:32 -08:00