Commit Graph

785 Commits

Author SHA1 Message Date
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
Lauri Tulmin d36d7df184
Remove jaeger exporter and add api diff for 2.0.0 release (#10241) 2024-01-16 20:54:09 +02:00
Lauri Tulmin c418b14914
Don't append signal path to signal specific endpoint (#10214) 2024-01-12 09:14:37 -08:00
Jean Bisutti 32ea07c1bc
Change Spring starter default otlp protocol from gRPC to http/protobuf (#10212) 2024-01-11 13:09:17 -08:00
Lauri Tulmin 3dd0925081
Honor default enabled for instrumentation modules (#10211) 2024-01-11 07:49:51 -08:00
Lauri Tulmin 6ce3bd8c14
Add network attributes to rabbitmq process spans (#10210) 2024-01-11 07:49:03 -08:00
Lauri Tulmin 78648478ae
Disable springws instrumentation when controller telemetry is not enabled (#10192) 2024-01-09 14:38:00 -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
Lauri Tulmin 27615c5690
Document spring-batch and spring-scheduling flags (#10155) 2024-01-03 10:49:28 -08:00
moznion c66c59a5b8
Resolve `ParameterNameDiscoverer` Bean Conflict in `spring-boot-autoconfigure` (#10105)
Signed-off-by: moznion <moznion@mail.moznion.net>
2024-01-02 14:51:07 -08:00
Lauri Tulmin 4ac62380d5
Replace OpenTelemetrySupplier with ObjectProvider<OpenTelemetry> (#10145) 2024-01-01 17:38:49 -08:00
Lauri Tulmin 04da58e5e4
Fix warnings from the spring boot starter (#10086) 2023-12-22 11:00:01 +02:00
Lauri Tulmin a2d4148067
Remove http stable semconv tests (#10087) 2023-12-21 08:30:26 -08: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
Vallabh Natu 818ff6fcbe
Convert Spring Scheduling groovy tests to java (#9806)
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2023-12-21 16:34:33 +02:00
Lauri Tulmin ad16ba88b2
Fix using opentelemetry-spring-boot with java8 (#10066) 2023-12-13 10:24:52 -08:00
Gregor Zeitlinger 3213c86784
Breaking change: disable micrometer bridge by default (#10038) 2023-12-12 11:47:55 -08:00
Lauri Tulmin 65b9fa2712
Fix spring-cloud-gateway-2.2 latest dep tests (#10023) 2023-12-07 12:05:38 +01:00
Mateusz Rzeszutek 1ac8c4d606
Implement `error.type` in `spring-webflux` and `reactor-netty` instrumentations (#9967) 2023-12-05 12:27:09 +00:00
Jean Bisutti df8b334ccf
Fix NoSuchBeanDefinitionException with the JDBC driver configuration (#9978) 2023-12-04 11:19:02 -08:00
Mateusz Rzeszutek 65ee9510f5
Rename the `instrumentation-api-semconv` module into `instrumentation-api-incubator` (#9985) 2023-12-04 08:28:10 +01: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
Jean Bisutti 00b6398cd7
Point the OpenTelemetry Spring Starter doc to opentelemetry.io website (#9926) 2023-11-27 09:20:59 -08:00
Mateusz Rzeszutek 63468157fc
Fix latest dep tests after the recent Spring release (#9947) 2023-11-24 21:07:48 +00:00
Lauri Tulmin d4e6078cfe
Fix aws propagator presence check (#9924) 2023-11-22 10:03:00 +02:00