renovate[bot]
b1eb1fd3d9
fix(deps): update dependency io.opentelemetry.semconv:opentelemetry-semconv to v1.30.0-rc.1 ( #13116 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2025-01-30 14:18:43 -08:00
Trask Stalnaker
1a506cb246
Document (and remove some) upper version test limits ( #12945 )
2024-12-27 08:54:10 -08:00
Lauri Tulmin
8071be9d9b
Fix wildfly port conflict ( #12871 )
2024-12-10 19:29:42 +02:00
Lauri Tulmin
28db801474
Convert jaxrs tests to java ( #12816 )
2024-12-01 08:42:46 -08:00
SylvainJuge
7c82dc4366
make servlet3 + spring webmvc + jaxrs 2.0 indy compatible ( #12432 )
2024-11-29 18:48:46 -08:00
Lauri Tulmin
1f8026e28c
Run tests with jdk 23 ( #12329 )
2024-09-26 12:16:41 +03:00
SylvainJuge
955470a63a
Semconv 1.25.0 migration ( #10983 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-09 11:25:52 -07:00
Lauri Tulmin
f4d2f28b98
Increase timeout, make test more resilient to failures ( #10867 )
2024-03-15 15:11:44 +02:00
Lauri Tulmin
b57c1a023b
Update semconv ( #10272 )
2024-01-30 17:10:35 +00:00
Lauri Tulmin
3dd0925081
Honor default enabled for instrumentation modules ( #10211 )
2024-01-11 07:49:51 -08:00
Lauri Tulmin
a1898cc416
Disable jaxrs annotation instrumentation when controller telemetry is not enabled ( #10203 )
2024-01-10 10:39:15 -08:00
Helen
fdeb032b33
Disable controller and view spans by default ( #10042 )
...
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2024-01-04 09:16:46 -08:00
Mateusz Rzeszutek
dc81aae72f
Move HTTP classes to instrumentation-api ( #9977 )
2023-12-01 12:04:06 +01:00
Mateusz Rzeszutek
280c1ea4c1
Enable stable HTTP semconv by default ( #9925 )
2023-11-28 10:43:51 -08:00
Lauri Tulmin
7d2259742a
Transform inline advice to delegating advice and test indy modules ( #9508 )
2023-09-22 11:15:39 +03:00
Lauri Tulmin
913bebb979
Fix deprecated buildDir warning in gradle scripts ( #9472 )
2023-09-15 08:43:57 +02:00
Trask Stalnaker
3b77cc4b2d
Semconv 1.21 ( #9408 )
...
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2023-09-13 19:20:23 +00:00
Mateusz Rzeszutek
d7a34f90ba
Refactor and rename `HttpClientResend` and `HttpRouteHolder` ( #9280 )
...
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2023-08-26 00:37:25 +00:00
Mateusz Rzeszutek
1f64215f38
Fix latestDepTest/muzzle after a broken undertow release ( #8678 )
2023-06-08 13:23:16 +02:00
Lauri Tulmin
e6183dc03a
Cross test jaxrs instrumentations ( #8541 )
2023-05-22 08:33:07 -07:00
Lauri Tulmin
ee00c7e6ed
Rename misleading advice methods ( #8485 )
2023-05-12 15:02:19 +00:00
Lauri Tulmin
b800213196
Fix cxf latest dep tests ( #8449 )
2023-05-09 09:56:18 +02:00
Trask Stalnaker
b09bddd6e4
Update gradle to 8.1.1 ( #8433 )
2023-05-07 09:28:30 +03:00
Lauri Tulmin
fe56784f27
Enable http pipelining tests for jaxrs-2.0-resteasy ( #8425 )
2023-05-05 16:10:08 +03:00
Lauri Tulmin
413890d246
Test http pipelining ( #8403 )
2023-05-04 10:23:48 +03:00
Lauri Tulmin
d0ee3da709
Jax-Ws annotation instrumentation should not apply to static methods ( #8391 )
2023-04-28 13:13:59 +02:00
Lauri Tulmin
0e15a47e93
Upgrade to gradle 8.0.2 ( #7978 )
2023-03-07 10:29:26 +02:00
Lauri Tulmin
64eb58633f
Fix jaxrs annotation instrumentation on openliberty ( #7890 )
...
Hopefully resolves
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/7870
Jax-rs annotation instrumentation is only enabled when jax-rs api is
found in the class loader. This check does a `ClassLoader.getResource`
call for the resource name corresponding to class
`javax.ws.rs.container.AsyncResponse`. As far as I understand this
particular class is used only because it was added in jax-rs 2.0, any
other class added in jax-rs 2.0 could be used instead of it. On
openliberty we fail to find this class because it should be resolved
through bundle dynamic imports but we disable looking into dynamic
imports in
https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/instrumentation/internal/internal-eclipse-osgi-3.6/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/internal/osgi/EclipseOsgiInstrumentation.java
when we do the class presence check. Using a class in `javax.ws.rs.core`
package seems to work better as the import for that package is already
resolved by the time we make the `getResource` call.
2023-02-24 13:00:11 +02:00
Mateusz Rzeszutek
ea237e3a80
Update HTTP span name extractors ( #7730 )
...
Implements
https://github.com/open-telemetry/opentelemetry-specification/issues/2998
---------
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2023-02-14 07:40:05 -08:00
Trask Stalnaker
adbd9664f4
Fix some instrumentation scope names ( #7632 )
2023-01-23 19:46:06 -08:00
Trask Stalnaker
c36b2a156f
Fix muzzle CI ( #7547 )
2023-01-10 16:40:42 -08:00
Lauri Tulmin
983b9dddff
Limit cxf latest dep version ( #7470 )
2022-12-23 09:54:25 -08:00
Trask Stalnaker
5345c87680
End groovy files with newline ( #7127 )
2022-11-10 12:21:55 +01:00
Trask Stalnaker
c1cdadab5d
Fix testLatestDeps ( #6880 )
2022-10-14 12:03:48 +03:00
Lauri Tulmin
73cadd38fe
Correct instrumentation name for jaxrs-2.0-annotations ( #6770 )
...
Related to
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/6733
2022-09-28 12:47:45 -07:00
Lauri Tulmin
79acca7ee8
Fix flaky jaxrs async test ( #6523 )
2022-09-02 13:28:04 +03:00
Mateusz Rzeszutek
08f013f9d6
Update gradle to 7.5.1 ( #6359 )
...
* Update gradle to 7.5
* Bump to 7.5.1
* gradle 7.5.1 with jdk17
* spotless
* one more --add-opens
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2022-08-12 12:03:43 +02:00
Trask Stalnaker
68a9f20eb3
Enable PrivateConstructorForUtilityClass errorprone check ( #6427 )
...
* PrivateConstructorForUtilityClass
* Advice
* More advice
* More
* More advice
* More
* Spotless
* Fix
* Fix
* Fix
* A better solution
* Revert
* More
* Fix
* Spotless
* Fix
2022-08-10 11:30:22 +03:00
Trask Stalnaker
9fe3761731
Document upper version limits ( #6436 )
2022-08-08 10:08:40 -07:00
Trask Stalnaker
c18dda76a1
Sync suppression keys ( #6428 )
2022-08-08 08:30:46 -07:00
Trask Stalnaker
4f7c2416fd
Fix deprecated gradle warnings ( #6221 )
2022-06-27 10:22:58 -07:00
Lauri Tulmin
cd2e11a9d6
Add instrumentation for JAX-RS 3.0 ( #6136 )
...
* Add instrumentation for JAX-RS 3.0
* set min java version to 11 for jax-rs 3.0
* exclude broken version
* fix muzzle range
* include correct api
* fix muzzle
* fix muzzle
* remove generics
* share test code
2022-06-03 12:49:14 +03:00
Mateusz Rzeszutek
6a0ca530b7
Instrumentation API changes: VirtualField ( #6017 )
...
* Instrumentation API changes: VirtualField
* change class name in string constant
2022-05-12 11:17:24 -07:00
Trask Stalnaker
945bf8abbe
Fix testLatestDeps ( #5968 )
2022-05-03 10:27:27 +03:00
Lauri Tulmin
4bd8956dd3
jax-rs: replace common singleton with factory ( #5961 )
2022-05-02 19:12:29 -07:00
Mateusz Rzeszutek
d919f84cf8
Merge javaagent-instrumentation-api into javaagent-extension-api ( #5936 )
...
* Merge javaagent-instrumentation-api into javaagent-extension-api
* remove some leftover references to javaagent-instrumentation-api
* add missing instrumentation-api to distro example
2022-04-28 20:11:15 -07:00
Mateusz Rzeszutek
2c4acd7c81
Introduce LocalRootSpan (replacing ServerSpan) ( #5896 )
...
* Introduce LocalRootSpan (replacing ServerSpan)
* fix tests
* bridge old ServerSpan class
2022-04-21 11:29:10 +02:00
Mateusz Rzeszutek
4e3f19d469
Enable span suppression by SpanKey by default ( #5779 )
...
* Enable span suppression by SpanKey by default
* fix HTTP tests (probably)
* add exception for camel
* remove suppression tests from @WithSpan instrumentations
* remove suppression tests from @WithSpan instrumentation; spring boot autoconfigure
* fix twilio tests
* fix netty-based HTTP clients, remove AWS SDK 1.11 unit test
* fix elasticsearch tests
* codenarc
* spotless
* fix AWS SDK 1.11 tests
* remove a TODO
* code review comments
* fix merge conflict
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-04-19 14:13:09 -07:00
Lauri Tulmin
1f9c1c1b5f
JUnit5 parameterized tests don't work correctly with arquillian ( #5833 )
...
* JUnit5 parameterized tests don't work correctly with arquillian
* disable test on java 17
2022-04-14 12:15:55 -07:00
Trask Stalnaker
7b6b31ff88
Extract instrumentation out of jaxrs-common module ( #5788 )
...
* Extract instrumentation out of jaxrs-common module
* dropwizard
* Move jaxrs annotation test too
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2022-04-11 16:59:15 -07:00