Gregor Zeitlinger
9101f0300f
Spring boot runtime metrics native reduced ( #13173 )
...
Co-authored-by: Jean Bisutti <jean.bisutti@gmail.com>
2025-02-14 06:29:25 -08:00
Lauri Tulmin
c6a6fa6224
Remove class files from spring-boot-autoconfigure source jar ( #12798 )
2024-11-26 06:43:54 -08:00
Trask Stalnaker
74d07f1d36
Database stable semconv tests and fixes ( #12601 )
2024-11-10 09:44:57 +02:00
Lauri Tulmin
0521ac1850
Add logback mdc instrumentation to spring boot starter ( #12515 )
2024-10-29 09:00:48 -07:00
Trask Stalnaker
428aa281d5
Restructure to have a single spring-boot-autoconfigure artifact ( #11826 )
2024-07-16 13:57:52 -07:00
Gregor Zeitlinger
e5af13931c
rename spring autoconfigure to autoconfigure-2 ( #11800 )
2024-07-12 12:07:53 -07:00
Gregor Zeitlinger
40cea5e616
Test earliest spring boot version ( #11474 )
2024-06-12 07:31:31 -07:00
Gregor Zeitlinger
d37c739365
make statement sanitizer configurable for spring boot ( #11350 )
...
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2024-05-17 11:09:08 -07:00
Gregor Zeitlinger
6b66434258
Add automatic MongoDB instrumentation to the OTel starter ( #11211 )
...
Co-authored-by: Jean Bisutti <jean.bisutti@gmail.com>
2024-05-16 19:20:38 +03:00
Gregor Zeitlinger
d18ccc5a89
add kafka Spring starter smoke test ( #11262 )
...
Co-authored-by: Jean Bisutti <jean.bisutti@gmail.com>
2024-05-14 12:58:30 -07:00
Gregor Zeitlinger
ebc38b4461
add spring starter r2dbc support ( #11221 )
...
Co-authored-by: Jean Bisutti <jean.bisutti@gmail.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2024-05-10 15:50:18 +03:00
Gregor Zeitlinger
62116ddb3f
Cloud provider in spring starter ( #11014 )
2024-04-11 15:03:17 -07:00
Gregor Zeitlinger
3839342e3b
move spring resources to javaagent directory ( #10813 )
2024-03-14 08:27:19 -07:00
Lauri Tulmin
fa5548b9a5
Fix spring boot starter failing without logback ( #10802 )
2024-03-12 10:01:45 +02:00
Gregor Zeitlinger
c73bf8eadf
Fix native tests ( #10685 )
...
Co-authored-by: Jean Bisutti <jean.bisutti@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
2024-02-28 19:08:07 -08:00
Gregor Zeitlinger
1cd768e294
spring boot starter: add service.version detection, improve service.name detection ( #10457 )
2024-02-21 12:46:58 -08:00
Gregor Zeitlinger
ee9cdc3800
add in starter: annotations ( #10613 )
2024-02-21 16:08:21 +02:00
Gregor Zeitlinger
d8aa0f5b48
Remove deprecated spring properties ( #10454 )
2024-02-16 08:27:26 -08:00
Lauri Tulmin
37b145b81c
Remove disabling spring-boot-autoconfigure tests on openj9 18 ( #10551 )
2024-02-14 08:40:24 -08:00
Lauri Tulmin
d36d7df184
Remove jaeger exporter and add api diff for 2.0.0 release ( #10241 )
2024-01-16 20:54:09 +02:00
Gregor Zeitlinger
87615cc9d9
add support for OTEL_RESOURCE_ATTRIBUTES, OTEL_SERVICE_NAME, OTEL_EXPORTER_OTLP_HEADERS and OTEL_EXPORTER_OTLP_PROTOCOL for spring boot starter ( #9950 )
2023-12-21 08:23:48 -08:00
Jean Bisutti
e6ec4f52ef
Make the JDBC driver config work with the OTel starter ( #9625 )
...
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2023-10-23 09:59:36 -07:00
Mateusz Rzeszutek
6f745e8f53
Include OTel appenders in the Spring Starter ( #8945 )
2023-07-13 12:56:56 +00:00
Mateusz Rzeszutek
8815952300
Initialize appenders in the spring boot starter ( #8888 )
...
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2023-07-11 08:47:01 -07:00
OpenTelemetry Bot
bbb05276be
Update the OpenTelemetry SDK version to 1.27.0 ( #8688 )
...
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2023-06-13 12:02:11 +03:00
Jean Bisutti
84a818794b
OTLP log export for the OpenTelemetry Spring Starter ( #8493 )
...
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2023-06-07 17:06:34 -07:00
Kevin Loveland
233ca9111d
feat: Added Spring's configuration annotation processor to produce th… ( #8516 )
2023-05-18 14:06:50 +03:00
Lauri Tulmin
a9fa5aacea
Add testcontainersBuildService to spring kafka tests that don't have it ( #8186 )
2023-03-31 10:26:06 +02:00
Lauri Tulmin
2cbfec8ac2
Fix spring boot 3 webmvc autoconfiguration ( #8051 )
...
Related to
https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8028#issuecomment-1466496896
spring boot 3 uses `jakarta.servlet` so we need to use
`WebMvcFilterAutoConfigurationSpring6 ` instead of
`WebMvcFilterAutoConfiguration`
2023-03-14 12:39:58 +01:00
James Moessis
3f45f755a9
Spring Webflux Library Instrumentation ( #7899 )
...
Resolves
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/7436
* Created new Module `spring-webflux-5.3` which contains only
server-side library instrumentation
* Minimum supported version is 5.3 because there are various problems in
older versions of reactor and webflux that prevent a few of the tests
from passing.
* Moved existing `spring-webflux-5.0` (webclient instrumentation) into a
common `spring-webflux` folder next to the 5.3 (server) instrumentation.
Moved the README to the parent folder so the docs are cohesive between
client/server instrumentation.
* Implemented `WebFilter` which instruments the server-side
* Depends on the `reactor-3.1` instrumentation to pass the context
around. Registers the react hook when it creates the `WebFilter`
* Tests using the standard HTTP server test suite
---------
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2023-03-08 08:43:46 +01:00
Lauri Tulmin
54d7241c05
Fix autoconfigure for spring boot 3 ( #7784 )
...
See
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/7312
2023-02-13 10:45:23 +01:00
Mateusz Rzeszutek
17b3fdb04a
Make preparations for Spring Web & WebMVC 6 instrumentations ( #7343 )
...
Just moving things around, extracting parent dir for `spring-web` and
`spring-webmvc`
2022-12-01 13:08:32 +01:00
jack-berg
94ba33e395
Use contrib AwsXrayPropagator ( #7234 )
...
Reflects move of `AwsXrayPropagator` to
[opentelemetry-java-contrib/aws-xray-propagator](https://github.com/open-telemetry/opentelemetry-java-contrib/tree/main/aws-xray-propagator ).
2022-11-21 11:31:17 -08:00
jack-berg
aeac361816
Upgrade to otel java 1.19.0 ( #6757 )
...
Working PR to capture all the changes required to update to otel java
1.19.0. The new log API force allows
`:instrumentation-appender-api-internal` and
`:instrumentation-appender-sdk-internal`, but necessitates a decent
amount of refactoring as a result.
The PR points at the `1.19.0-SNAPSHOT`, which I'll update upon
publication.
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2022-10-12 09:19:37 -07:00
Trask Stalnaker
0d32150059
Assert on instrumentation version ( #6773 )
...
To catch issues like #6770
2022-09-29 10:53:10 +03:00
Trask Stalnaker
5224194740
Move versions to dependencyManagement ( #6648 )
...
Part of #6645
2022-09-19 12:05:06 +03:00
Trask Stalnaker
af61a8b578
Update to otel 1.18.0 ( #6575 )
2022-09-11 10:35:05 -07:00
Lauri Tulmin
4605be3241
Disable crashing tests on openj9 18 ( #6481 )
2022-08-17 09:21:18 -07:00
Mateusz Rzeszutek
5862ace233
Tweak naming of spring autoconfigure and starter modules ( #6453 )
2022-08-15 22:07:08 -07: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
Mateusz Rzeszutek
0d1cc8ea0a
Set http.route in spring-autoconfigure webmvc instrumentation ( #6414 )
...
* Set http.route in spring-autoconfigure webmvc instrumentation
* Bump spring-webmvc library instrumentation version to 5.3
* nit: protected -> private
* Remove duplicated test (already covered by HttpSpanStatusExtractorTest)
* Move the README to the correct module
* fix link
* fix more links
* liiiiiiinks
* fix tests
* remove not needed weakref
2022-08-09 09:36:28 -07:00
Trask Stalnaker
9e460e28ef
Fix build ( #6389 )
2022-07-31 10:50:42 +03:00
Mateusz Rzeszutek
54b8b6af89
Add Kafka instrumentation to the Spring Boot starter ( #6371 )
2022-07-28 12:44:53 +02:00
Mateusz Rzeszutek
561ce5e3cc
Support new @WithSpan annotation in spring-boot-autoconfigure ( #6378 )
2022-07-28 11:48:59 +02:00
Trask Stalnaker
177f0aec7c
Rename instrumentation-api-annotation-support ( #6288 )
2022-07-08 17:07:41 -07:00
Mateusz Rzeszutek
9058ad6f40
Add metrics & micrometer support to spring-boot-autoconfigure ( #6270 )
...
* Add metrics & micrometer support to spring-boot-autoconfigure
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* code review comments
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-07-07 07:51:25 -07:00
Andrei Chugunov
c5f677e962
Spring Boot Starter service-name is constant ( #5359 )
...
* Spring Boot Starter service-name is constant
Pattern-based resource configuration
* Add ResourceProvider beans for spring with ConfigProperties
2022-03-29 12:34:43 +02:00
Anuraag Agrawal
14372adb68
Migrate Guava tests to Java ( #5668 )
...
* Migrate Guava tests to Java
* Update instrumentation/guava-10.0/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/guava/ListenableFutureTest.java
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
* Workaround inline mock issue
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
2022-03-24 14:14:09 +09: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
bcae1b11d3
Remove gRPC dependency for export ( #4674 )
2021-11-19 11:21:34 -08:00