Commit Graph

3231 Commits

Author SHA1 Message Date
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
Lauri Tulmin d823ffed0b
Netty: don't expose tracing handler in handlers map (#10410) 2024-02-06 08:43:46 +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 bb12290af8
Allow dynamic import for io.opentelemetry when matching (#10385) 2024-02-03 14:31:05 +02: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
Manik Magar 5f6232fca8
feat(oshi): oshi metrics observables (#10364) 2024-02-02 08:21:58 -08:00
Jonas Kunz 980d8ea244
Allow multiple invokedynamic InstrumentationModules to share classloaders (#10015) 2024-02-02 15:35:54 +02:00
Liudmila Molkova 9b5e29de8b
Update azure-core-tracing-opentelemetry version and fix sync suppression (#10350)
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2024-02-01 13:39:48 -08:00
Lauri Tulmin c3e5245354
Remove unused kafka metrics from doc (#10371) 2024-02-01 07:44:36 -08: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 460f011f8a
Disable another flaky test (#10365) 2024-01-31 15:13:24 +02:00
Lauri Tulmin 7bc2b7ba90
Disable flaky test (#10360) 2024-01-31 12:23:40 +02:00
Lauri Tulmin f52a3b404a
Warn when deprecated kafka property is used (#10354) 2024-01-31 09:46:34 +02:00
Elbio Caetano 27c85e208e
feat: instrumentation for apache httpclient 5 (#10100)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2024-01-31 07:27:25 +02:00
jason plumb 7e35f0c34a
Remove deprecated config properties (#10349) 2024-01-31 05:16:50 +00: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
jason plumb 89ee25f4d2
Remove tomcat-jdbc latest test dep pinning (#10351) 2024-01-30 09:10:38 +02:00
Lauri Tulmin bc034f3b1b
Reactor kafka wrapper delegates to wrong method (#10333) 2024-01-28 18:23:02 -08:00
Lauri Tulmin 20e3cd6ab8
Undertow: restore attached context only when it is for different trace (#10336) 2024-01-26 07:59:04 -08:00
Jean Bisutti 8825359748
Automatic addition of the OTel Logback appender by the OTel starter (#10306) 2024-01-24 08:45:13 -08:00
hadesy 7d544f1476
Convert pulsar 2.8 groovy test to Java (#10176)
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2024-01-24 09:13:04 +02:00
Lauri Tulmin 9259ce828a
Add context propagation for rector schedulers (#10311) 2024-01-24 09:11:47 +02:00
Lauri Tulmin 14d1f4c2e5
Improve rediscala instrumentation (#10301) 2024-01-23 21:47:12 +02:00
Lauri Tulmin 87f6be691e
Use constants from SemanticAttributes (#10302) 2024-01-23 08:05:42 -08:00
Roman Kvasnytskyi e04b448b6c
Make Netty Instrumentation HttpServerRequestTracingHandler propagate "Channel Inactive" event to downstream according to parent contract (#10303) 2024-01-23 17:39:58 +02: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
Jonas Rutishauser 35b143a7ac
Correctly fix NPE in servlet AsyncListener (#10250) 2024-01-18 10:26:09 -08:00
Lauri Tulmin 61e29873ee
Fix Calling shutdown() multiple times warning in spring starter (#10222) 2024-01-18 10:20:35 -08:00
Roman Kvasnytskyi 9e208c8574
Fix Netty addListener instrumentation (#10254) 2024-01-18 11:26:23 +02:00
Jean Bisutti 9ec6401fae
Fix log replay of the Log4j 2 appender (#10243) 2024-01-17 09:55:47 -08:00
Lauri Tulmin 92373bcfb5
Exclude one more grails version from muzzle (#10252) 2024-01-17 08:31:17 -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
Trask Stalnaker f1ed419a39
Disable lettuce CONNECT spans by default (#10215)
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2024-01-12 17:19:15 +00:00
Lauri Tulmin c418b14914
Don't append signal path to signal specific endpoint (#10214) 2024-01-12 09:14:37 -08:00
Helen 36ed20366e
Apply both serverAttributes & networkAttributes to Lettuce 5.1 (#10197)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2024-01-12 08:38:47 -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 a1898cc416
Disable jaxrs annotation instrumentation when controller telemetry is not enabled (#10203) 2024-01-10 10:39:15 -08:00
Lauri Tulmin a7780c36f1
Document flags used in the runtime telemetry instrumentation (#10191) 2024-01-09 15:01:20 -08:00
Lauri Tulmin 9c1de50343
Disable jaxws annotation instrumentation when controller telemetry is not enabled (#10193) 2024-01-09 14:44:05 -08:00
Lauri Tulmin 78648478ae
Disable springws instrumentation when controller telemetry is not enabled (#10192) 2024-01-09 14:38:00 -08:00
Lauri Tulmin d9c4caccb2
Correct small formatting inconsistency in the readme (#10190) 2024-01-09 10:26:21 -08:00
Evgeniy Zuikin 2ee4ee116d
Remove mdc attributes prefix (#9536)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2024-01-05 18:41:53 +00:00
Lauri Tulmin d0efffd7c5
Log4j instrumentation does not add source code attributes (#10179) 2024-01-05 08:10:10 -08:00
Trask Stalnaker 8d8de3a4fd
Fix merge conflict (#10172)
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2024-01-05 10:49:28 +02:00
Gregor Zeitlinger 325477e6f6
log4j MDC attribute capture configuration (#10054) 2024-01-04 09:25:51 -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
Jay DeLuca f35dddcf63
update sqs and sns attributes for camel tests (#10168) 2024-01-04 07:59:21 -08:00
Lauri Tulmin a43ac68d51
Document instrumentation flags (#10156) 2024-01-04 07:49:10 -08:00
Thomas Duncan 1c1ca91643
Capture the SNS topic ARN under the 'messaging.destination.name' span attribute. (#10096) 2024-01-03 10:50:28 -08:00
Lauri Tulmin 27615c5690
Document spring-batch and spring-scheduling flags (#10155) 2024-01-03 10:49:28 -08:00
Lauri Tulmin 5b95f0fb3a
Update supported frameworks doc (#10157) 2024-01-03 10:48:55 -08:00
Lauri Tulmin c251a28654
Fix flag type in README.md (#10158) 2024-01-03 10:47:42 -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
SylvainJuge 015a4663b3
JMX metrics for Tomcat with 'Tomcat' JMX domain (#10115) 2024-01-02 14:31:53 -08:00
Lauri Tulmin ebb9595b7f
Remove deprecated rocketmq setting (#10125) 2024-01-02 08:36:53 +02:00
Lauri Tulmin 4ac62380d5
Replace OpenTelemetrySupplier with ObjectProvider<OpenTelemetry> (#10145) 2024-01-01 17:38:49 -08:00
Lauri Tulmin 4a8c4eca04
Reformat logback appender readme (#10122) 2024-01-01 17:37:27 -08:00
Lauri Tulmin 355003538a
Fix typo in logging framework instrumentation readme (#10123) 2024-01-01 17:36:58 -08:00
Lauri Tulmin 58705996f2
Add readme for jboss-logmanager instrumentation (#10124) 2024-01-01 17:36:39 -08:00
Lauri Tulmin 04da58e5e4
Fix warnings from the spring boot starter (#10086) 2023-12-22 11:00:01 +02:00
Lauri Tulmin 1ee51e410e
Add missing configuration options to grpc readme (#10113) 2023-12-22 10:26:14 +02:00
Lauri Tulmin fd86ac79bb
Move pekko modules under common directory (#10106) 2023-12-22 07:10:39 +00:00
dingjiefei 20ab0121fa
Add instrumentation for druid connection pool (#9935)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2023-12-21 17:09:29 +00:00
H 46ac349393
Convert vertx http client 3.0 groovy tests to java (#10093) 2023-12-21 08:31:47 -08:00
Lauri Tulmin a2d4148067
Remove http stable semconv tests (#10087) 2023-12-21 08:30:26 -08:00
Lauri Tulmin d5f4de2119
Add elasticsearch-api-client as instrumentation name to elasticsearch-api-client-7.16 (#10102) 2023-12-21 08:28:10 -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
Lauri Tulmin fa0914354e
Fix aws readme formatting (#10111) 2023-12-21 08:18:56 -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
Ben Carter f67f1c3127
Add missing kafka-clients instrumentation description (#9621) 2023-12-21 12:33:15 +02:00
Lauri Tulmin fda1ee124a
Add timeout to awaitGc (#10081) 2023-12-15 11:45:35 -08:00
renovate[bot] 586eea7ed9
fix(deps): update dependency io.netty:netty-bom to v4.1.104.final (#10058)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2023-12-15 11:42:52 -08:00
Mateusz Rzeszutek bdeec9fc0d
Enable stable JVM semconv by default (#9963)
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2023-12-14 09:20:27 -08:00
Lauri Tulmin 37ca15b76f
Add http client response attributes to aws sqs process spans (#10074) 2023-12-14 08:07:54 -08:00
Lauri Tulmin 30ddf6a66c
Fix transforming record types (#10052) 2023-12-13 10:25:16 -08:00
Lauri Tulmin ad16ba88b2
Fix using opentelemetry-spring-boot with java8 (#10066) 2023-12-13 10:24:52 -08:00
Lauri Tulmin c7fd4d4b1c
Implement forEach support for aws sqs tracing list (#10062) 2023-12-13 08:32:55 -08:00
Lauri Tulmin b8126c8da7
Skip broken grails version in muzzle (#10061) 2023-12-13 08:22:48 -08:00
Jay DeLuca 0973f335c5
Convert lettuce 5.1 SyncClientAuthTest from groovy to java (#10045) 2023-12-12 12:50:50 -08:00
Gregor Zeitlinger 3213c86784
Breaking change: disable micrometer bridge by default (#10038) 2023-12-12 11:47:55 -08:00
Lauri Tulmin 14dc34e50e
Capture http.route for akka-http (#10039)
Co-authored-by: jason plumb <75337021+breedx-splk@users.noreply.github.com>
2023-12-12 11:10:17 -08:00
Lauri Tulmin 49befbd024
No need to enable grizzly instrumentation, it is enabled by default (#10050) 2023-12-12 11:08:41 -08:00
Lauri Tulmin bc5398ce3f
Add instrumentation for vert.x redis client (#9838) 2023-12-08 10:00:10 +02:00
Lauri Tulmin e8b06c0317
Bridge opentelemetry api 1.32 (#10026)
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2023-12-08 09:59:36 +02:00
Paurush Garg dac9bdd9b9
Null check for nullable response object (#10029) 2023-12-07 23:00:03 +02:00
Lauri Tulmin 65b9fa2712
Fix spring-cloud-gateway-2.2 latest dep tests (#10023) 2023-12-07 12:05:38 +01:00
renovate[bot] 27ee816a26
fix(deps): update dependency io.netty:netty-bom to v4.1.101.final (#9833)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2023-12-06 10:20:54 -08:00
Lauri Tulmin 338b03efb1
Fix grpc latest dep tests (#10014) 2023-12-06 10:19:35 +01:00
renovate[bot] 0c05fd73ac
fix(deps): update jackson packages to v2.16.0 (#9875)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2023-12-05 19:10:18 +02:00
Jay DeLuca d6d6528526
Convert lettuce 5.1 Async client tests from groovy to java (#9994) 2023-12-05 08:41:16 -08:00
Lauri Tulmin 2eb5974ecd
Add builder for logback LoggingEventMapper (#10000) 2023-12-05 08:29:47 -08: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
Nils-Helge Garli Hegvik bbfe950ad0
Authority from request when HttpHost is null (#9990) 2023-12-03 11:02:22 +02:00
Mateusz Rzeszutek dc81aae72f
Move HTTP classes to instrumentation-api (#9977) 2023-12-01 12:04:06 +01:00
Mateusz Rzeszutek 7cd705b555
Remove old HTTP semconv code (#9968) 2023-11-29 08:04:31 -08:00
Mateusz Rzeszutek 280c1ea4c1
Enable stable HTTP semconv by default (#9925) 2023-11-28 10:43:51 -08:00
Lauri Tulmin 952ecd0a34
Reduce reactor stack trace depth (#9923) 2023-11-27 14:02:53 -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
H 7c3a412b0b
Convert Wicket groovy tests to java (#9867)
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2023-11-23 00:13:12 +02:00
Lauri Tulmin d4e6078cfe
Fix aws propagator presence check (#9924) 2023-11-22 10:03:00 +02:00
Lauri Tulmin 672fa2215f
Fix link to spring integration channel configuration doc (#9931) 2023-11-22 08:50:36 +01:00
Lauri Tulmin 9d65926094
Remove latest dep limit for aws2 sqs test (#9902) 2023-11-21 13:50:55 +02:00
Lauri Tulmin e148b84536
Fix spring-kafka-2.7 latest dep tests (#9921) 2023-11-21 11:59:18 +01:00
Jay DeLuca f6b63dac7b
Convert lettuce 5.1 reactive client tests from groovy to java (#9876) 2023-11-20 15:44:28 -08:00
Lauri Tulmin cafbcfc198
Fix log4j-appender-2.17 latest dep tests (#9915) 2023-11-20 15:35:37 -08:00
Mateusz Rzeszutek 5d007bbc05
Stable JVM semconv implementation: the rest (#9896) 2023-11-17 15:18:50 -08:00
Jean Bisutti c5cb94893b
Ability to instrument logs before OTel injection into OTel appenders (#9798)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2023-11-17 10:03:17 -08:00
Lauri Tulmin f491250efa
Allow starting and stopping of test server to throw an exception (#9895) 2023-11-17 07:53:48 -08:00
Lauri Tulmin 6313391d71
Rewrite @Advice.Enter for indy advice (#9887) 2023-11-17 07:49:19 -08:00
Lauri Tulmin a3b0e31b4b
Enable running with indy for jodd-http-4.2 (#9898) 2023-11-17 07:49:04 -08:00
Lauri Tulmin 9fb5b3f31c
Bridge incubator metrics apis (#9884) 2023-11-17 07:48:44 -08:00
Mateusz Rzeszutek 7400025c10
Stable JVM semconv implementation: GC (#9890) 2023-11-17 09:45:34 +00:00
Mateusz Rzeszutek 4bde25f067
Jvm stable threads (#9839) 2023-11-17 10:13:23 +01:00
Lauri Tulmin dedfc204c1
Fix latest dep tests (#9892) 2023-11-16 10:12:24 -08:00
Lauri Tulmin 2bcae0b010
Fix flaky aws2 sqs test (#9888) 2023-11-16 07:58:23 -08:00
Mateusz Rzeszutek 4da8fbbc99
Stable JVM semconv implementation: classes (#9821) 2023-11-16 15:42:27 +01:00
Lauri Tulmin 5ab3fdd112
Capture logback logger context properties (#9553) 2023-11-16 16:38:10 +02:00
Lauri Tulmin 1c35a169fd
Remove unneeded annotation attribute name (#9886) 2023-11-16 14:04:14 +01:00
Lauri Tulmin 977a6f9c38
Move kafka metrics to separate instrumentation module (#9862) 2023-11-16 13:52:30 +02:00
Lauri Tulmin 7f0b079fed
Fix latest dep tests (#9880) 2023-11-16 11:09:39 +01:00
Lauri Tulmin a6be8ce0c4
Implement capturing message headers for aws2 sqs spans (#9842) 2023-11-15 13:24:57 -08:00
Lauri Tulmin 0b5615f9e6
Capture message id in aws1 sqs instrumentation (#9841) 2023-11-15 12:46:12 -08:00
Jay DeLuca 37d1035430
Convert log4j context-data tests from groovy to java (#9804) 2023-11-15 07:08:59 -08:00
Trask Stalnaker 0a717edeb8
Small library doc updates (#9868) 2023-11-14 14:33:05 -08:00
Phil Clay 6ed32390bc
Capture enduser attributes in Spring Security (#9777) 2023-11-14 12:23:09 -08:00
Gleb Ignatev 7e31ce953f
mongo-3.1 library: add README.md (#9854) 2023-11-14 11:59:04 -08:00
Trask Stalnaker f993e9a498
Add micrometer library doc (#9856) 2023-11-14 11:17:39 -08:00
Lauri Tulmin c973b9ebd4
Fix parsing port from mariadb jdbc url (#9863) 2023-11-14 07:17:10 -08:00
Lauri Tulmin 23b2521c43
Remove reference to tracer bean from spring boot docs (#9864) 2023-11-14 07:15:45 -08:00
Trask Stalnaker 5ba402fd2f
opentelemetry -> openTelemetry (#9858) 2023-11-14 12:31:42 +02:00
Lauri Tulmin 17c5a76590
Enable indy for azure tests (#9853) 2023-11-13 19:14:49 -08:00
cleverchuk 81f8bf6231
Add `service.name` to MDC (#9647)
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2023-11-13 09:37:19 -08:00
Lauri Tulmin fa4234396e
Fix flaky aws1 test (#9849) 2023-11-13 17:58:31 +02:00
Lauri Tulmin b81082d274
Enable indy for dubbo instrumentation (#9851) 2023-11-13 07:49:06 -08:00
Lauri Tulmin f44149da41
Enable indy instrumentation for kubernetes client (#9852) 2023-11-13 07:47:54 -08:00
Lauri Tulmin d16c0d240a
Remove unneeded dependency (#9850) 2023-11-13 07:38:44 -08:00
Lauri Tulmin 4a9b965b2f
Add process spans to aws2 sqs instrumentation (#9778) 2023-11-10 14:20:53 +02:00
Jay DeLuca 976ca64fae
Convert lettuce 5.1 SyncClientTest from groovy to java (#9697) 2023-11-09 16:18:42 +02:00
Lauri Tulmin ff97f6cce8
Implement capturing message headers for aws1 sqs spans (#9824) 2023-11-09 16:18:05 +02:00