Commit Graph

810 Commits

Author SHA1 Message Date
OpenTelemetry Bot cab8ce66c0
Update the OpenTelemetry SDK version to 1.42.0 (#12186)
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2024-09-11 19:05:08 -07:00
Lauri Tulmin 61326c69eb
Fix flaky spring integration test (#12185) 2024-09-06 21:31:55 +03:00
Lauri Tulmin 13e148b847
Keep junit extensions in static fields (#12166) 2024-09-04 07:04:53 -07:00
Gregor Zeitlinger 6ae3e31dfc
Spring batch tests to java - basic (#12076) 2024-08-28 17:02:05 -07:00
Gregor Zeitlinger 6700efdd23
convert spring integration tests to java (#11999)
Co-authored-by: Jay DeLuca <jaydeluca4@gmail.com>
2024-08-26 15:30:45 -07:00
SylvainJuge d0d39b8698
make netty-* indy compatible (#11559)
Co-authored-by: Jonas Kunz <jonas.kunz@elastic.co>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2024-08-22 08:07:14 -07:00
Gregor Zeitlinger 749fafaea8
enforce static imports (#12009) 2024-08-21 10:40:50 -07:00
Lauri Tulmin 888accf474
Fix netty memory leak (#12003) 2024-08-15 17:30:21 -07:00
renovate[bot] 31fa7dc512
fix(deps): update junit5 monorepo to v5.11.0 (main) (minor) (#12010)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2024-08-15 12:41:14 -07:00
Gregor Zeitlinger b00ccd7834
use DefaultHttpClientInstrumenterBuilder and DefaultHttpServerInstrumenterBuilder for armeria (#11797)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2024-08-14 17:37:24 -07:00
renovate[bot] d480f15dc5
fix(deps): update errorproneversion to v2.30.0 (main) (minor) (#11991)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2024-08-12 13:08:15 +03:00
Lauri Tulmin b0818cb3ed
Update kafka docker image (#11938) 2024-08-01 11:42:07 -07:00
SylvainJuge 145185ea5c
Add span baggage processor (#11697) 2024-07-19 08:30:06 -07:00
Trask Stalnaker 428aa281d5
Restructure to have a single spring-boot-autoconfigure artifact (#11826) 2024-07-16 13:57:52 -07:00
Trask Stalnaker 60757376a6
Rename spring-boot-autoconfigure artifacts (#11815) 2024-07-15 12:30:43 -07:00
Gregor Zeitlinger 77393359aa
make spring starter stable (#11763) 2024-07-12 14:20:44 -07:00
Gregor Zeitlinger e5af13931c
rename spring autoconfigure to autoconfigure-2 (#11800) 2024-07-12 12:07:53 -07:00
Jean Bisutti 54622bed61
Update @EnableOpenTelemetry javadoc (#11799) 2024-07-11 10:52:42 -07:00
Gregor Zeitlinger 9bbfe7fe4e
Use config properties for spring starter (http server) (#11667)
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2024-07-10 10:32:17 -07:00
Jean Bisutti e36fc46fd5
GraalVM native support for the OpenTelemetry annotations (#11757)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2024-07-10 08:26:52 -07:00
Gregor Zeitlinger 948a58e591
Spring autoconf deps (#11784) 2024-07-10 08:26:02 -07:00
Gregor Zeitlinger 727a7e3548
support otel.instrumentation.common.default-enabled in spring starter (#11746) 2024-07-08 12:03:43 -07:00
Gregor Zeitlinger 798bdd5569
config properties support for spring starter clients (#11605) 2024-07-02 16:49:39 +03:00
Jean Bisutti 4d6b1cdf38
Use more @ConditionalOnEnabledInstrumentation (#11665) 2024-06-25 09:47:28 +03:00
Gregor Zeitlinger 47ebb94253
re-use logic for http client configuration (#11620)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2024-06-21 16:58:41 -07:00
Ben f602e193e5
Fix InstrumentedRecordInterceptor closing the trace too early (#11471) 2024-06-13 14:50:21 -07:00
Gregor Zeitlinger 40cea5e616
Test earliest spring boot version (#11474) 2024-06-12 07:31:31 -07:00
Lauri Tulmin 5801ca7a7e
Remove usages of sdk internal StringUtils class (#11547) 2024-06-11 14:06:59 +03:00
Gregor Zeitlinger d991af71d0
move non-api classes to internal packages (#11502) 2024-06-05 08:36:24 -07:00
Lauri Tulmin d5e2742518
Fix spring-boot-actuator-autoconfigure-2.0 latest dep test (#11446) 2024-05-23 12:48:33 -07:00
Lauri Tulmin cbcc0fbf41
Fix broken link (#11445) 2024-05-23 12:48:08 -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
Trask Stalnaker 325d000498
Simplify comment (#11389) 2024-05-17 10:15:03 -07:00
Lauri Tulmin 7a06507f80
Allow library instrumentations to override span name (#11355)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2024-05-17 12:10:32 +03: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
Trask Stalnaker 68ebe00c8b
Revert "Remove db.connection_string (#11089)" (#11366) 2024-05-16 10:30:34 +03:00
Lauri Tulmin 3a9972b16f
Remove incubating semconv dependency from library instrumentation (#11324) 2024-05-15 11:44:21 -07:00
Lauri Tulmin 03770f371f
Simplify test (#11339) 2024-05-15 11:31:22 -07:00
Gregor Zeitlinger 5be203ad43
support otel.instrumentation.kafka.experimental-span-attributes in spring starter (#11263) 2024-05-15 18:30:25 +00: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
Zachary Sistrunk 48d4c138fb
Enable instrumentation of Spring EJB clients (#11104)
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2024-05-10 07:52:08 -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
Andrei Chugunov deac3971d9
spring mvc tests to java (#11114)
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2024-05-08 12:28:35 +03:00
Gregor Zeitlinger 32df5ae710
extract @SpringBootInstrumentation annotation (#11293) 2024-05-08 10:12:39 +03:00
Jean Bisutti a9a97c0518
Add automatic JDBC instrumentation to the OTel Spring starter (#11258) 2024-05-02 17:29:21 +00:00
Andrei Chugunov acef37c7df
move spring-jms-2.0 tests to java (#11195) 2024-04-29 21:02:12 +03:00
Gregor Zeitlinger 2f79f1dcc0
move the reactive spring tests to a different directory (#11234) 2024-04-29 09:28:23 -07:00
Gregor Zeitlinger d1591f72a7
Small fixes (#11236) 2024-04-29 11:55:35 +03:00
Gregor Zeitlinger 0a1c87e9f0
suppress error log in test (#11223) 2024-04-25 14:11:51 +03:00
Zachary Sistrunk d4237fc01a
Updating tests to support using non-localhost Docker runtimes (#11106) 2024-04-24 15:18:06 -07:00
Gregor Zeitlinger 8cf2217dca
add support for webflux server in spring starter (#11185) 2024-04-23 16:20:34 +03:00
Andrei Chugunov 483387d333
move spring-ws-2.0 tests to java (#11196)
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
2024-04-23 08:17:23 +00:00
Gregor Zeitlinger c370aef658
ensure no warnings are emitted in spring starter startup (#11201) 2024-04-23 10:47:39 +03:00
Gregor Zeitlinger f71537a13c
Spring rest client (#11038) 2024-04-22 17:37:21 -07:00
Steven Swartz 84d0511694
Use constant span name when using Spring AMQP AnonymousQueues (#11141) 2024-04-22 11:03:33 +03:00
Lauri Tulmin 7ff3b23f10
Remove db.connection_string (#11089) 2024-04-12 09:09:25 +03:00
Gregor Zeitlinger 62116ddb3f
Cloud provider in spring starter (#11014) 2024-04-11 15:03:17 -07:00
Gregor Zeitlinger 7de246bb34
add instrumentation for RestTemplateBuilder (#11054)
Co-authored-by: Jean Bisutti <jean.bisutti@gmail.com>
2024-04-11 15:02:40 -07:00
Gregor Zeitlinger 272258290f
improve tests for RestTemplate (#11053)
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
2024-04-11 07:30:15 -07:00
Gregor Zeitlinger 0026dda7b1
support service.instance.id in spring starter (#11071) 2024-04-11 07:26:59 -07:00
Gregor Zeitlinger e175df814c
logging exporter was renamed to console in 1.37 (#11100) 2024-04-11 07:26:19 -07:00
Lauri Tulmin 9efbec6fd5
Replace messaging.kafka.destination.partition with messaging.destination.partition.id (#11086) 2024-04-11 09:16:50 +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
Gregor Zeitlinger 19b65c062e
make spring boot honor the standard environment variables for maps (#11000) 2024-04-08 11:33:05 -07:00
Lauri Tulmin 8bb279f21e
Fix spring kafka interceptor wrappers not delegating some methods (#10935) 2024-03-25 17:20:54 -07:00
Lauri Tulmin 4c45e94098
Handle async requests in srping mvc library instrumentation (#10868) 2024-03-20 14:04:53 +02:00
Gregor Zeitlinger 3839342e3b
move spring resources to javaagent directory (#10813) 2024-03-14 08:27:19 -07:00
Gregor Zeitlinger b7e847c4f1
Spring use sdk autoconfig (#10453) 2024-03-13 07:41:47 -07:00
Lauri Tulmin afa3207e87
Fix spring kafka context leak when batch listener is retried (#10741) 2024-03-12 14:03:29 +02: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
Jean Bisutti edf64c5b31
Ability to disable the automatic Logback appender addition (#10629) 2024-02-26 15:22:08 +02:00
Gregor Zeitlinger 4ed5adeb17
don't fail spring application startup if sdk is disabled (#10602) 2024-02-22 14:16:09 +02:00
Lauri Tulmin b5bbc62fa1
Always create a JMS consumer span (#10604) 2024-02-22 09:13:25 +02: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
Gregor Zeitlinger 66dd60015c
fix otel.properties in spring boot starter (#10559) 2024-02-15 12:11:11 -08:00
Lauri Tulmin 37b145b81c
Remove disabling spring-boot-autoconfigure tests on openj9 18 (#10551) 2024-02-14 08:40:24 -08:00
Gregor Zeitlinger 76ab93780e
Spring starter should support otel.propagators (#10408) 2024-02-13 10:02:07 -08:00
Jay DeLuca b43fbea416
Update Spring autoconfigure and zipkin starter readmes to link to doc site (#10531) 2024-02-13 08:32:16 -08:00
Gregor Zeitlinger 485b8f4218
use duration parser of config properties for consistency (#10512) 2024-02-13 08:30:27 -08:00
Gregor Zeitlinger d73304b078
remove support for deprecated @WithSpan annotation from spring starter (#10530) 2024-02-13 08:27:08 -08:00
Steve Rao 0a5c31193c
Deleted redundant checks (#10434) 2024-02-07 07:30:52 -08:00
Gregor Zeitlinger 29354a7ba6
add SystemOutLogRecordExporter for spring starter (#10420) 2024-02-06 07:50:27 -08:00
Lauri Tulmin acb078bbc3
Wrap request to avoid modifying attributes of the original request (#10389) 2024-02-06 08:44:02 +02:00
Gregor Zeitlinger f715a189bf
re-use sdk logic for configuring otlp exporters (#10292)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2024-02-05 20:44:37 -08:00
Trask Stalnaker d4435c9bc8
Use direct peer address in `client.address` when X-Forwarded-For is not present (#10370)
Co-authored-by: heyams <heya@microsoft.com>
2024-02-05 19:09:28 -08:00
Lauri Tulmin e47be09fbd
Disable actuator instrumentation by default (#10394) 2024-02-03 08:48:40 +00:00
Jean Bisutti 80e5bac4a4
Allow the Spring starter to configure the OTel Logback appender from system properties (#10355) 2024-02-02 17:27:58 +00:00
Gregor Zeitlinger bb8e301111
fix MapConverter bean condition (#10346) 2024-01-31 19:33:47 -08:00
Gregor Zeitlinger 5969622052
add resource detectors to spring starter (#10277) 2024-01-31 17:21:34 +02:00
Lauri Tulmin b57c1a023b
Update semconv (#10272) 2024-01-30 17:10:35 +00:00
Gregor Zeitlinger 2e5ac56213
add LoggingMetricExporterAutoConfiguration to spring factories (#10282) 2024-01-30 13:45:39 +02:00
Jean Bisutti 8825359748
Automatic addition of the OTel Logback appender by the OTel starter (#10306) 2024-01-24 08:45:13 -08:00
Lauri Tulmin 9259ce828a
Add context propagation for rector schedulers (#10311) 2024-01-24 09:11:47 +02:00
Lauri Tulmin 87f6be691e
Use constants from SemanticAttributes (#10302) 2024-01-23 08:05:42 -08:00
Gregor Zeitlinger 9c8644c874
add Spring boot distro version (#10276) 2024-01-23 10:37:04 +02:00
Gregor Zeitlinger 3b65ee1a32
add @ConditionalOnMissingBean to LoggingMetricExporter (#10283) 2024-01-19 11:33:37 +02:00
Lauri Tulmin 61e29873ee
Fix Calling shutdown() multiple times warning in spring starter (#10222) 2024-01-18 10:20:35 -08:00