Trask Stalnaker
6b9e68ebfd
Change `setCaptured*Headers(List)` to `setCaptured*Headers(Collection)` ( #12901 )
2024-12-23 15:49:55 -08:00
Ben
f602e193e5
Fix InstrumentedRecordInterceptor closing the trace too early ( #11471 )
2024-06-13 14:50:21 -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
afa3207e87
Fix spring kafka context leak when batch listener is retried ( #10741 )
2024-03-12 14:03:29 +02:00
Lauri Tulmin
e7db2c0246
Allow enabling receive telemetry in kafka library instrumentation ( #9693 )
2023-10-17 15:47:11 +02: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
85c541ef92
Implement kafka client id and consumer id attributes ( #7860 )
...
Resolves
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/7771
Adds `messaging.consumer_id` and `messaging.kafka.client_id` attributes
to kafka spans.
2023-02-21 07:31:28 -08:00
Mateusz Rzeszutek
12ea869855
Implement `messaging.kafka.*` attributes spec (part 1) ( #7824 )
...
Part 1 of #7771
It's a lot more than I initially expected it to be; I'll introduce the
clientId attribute in part 2
2023-02-16 13:22:17 -08:00
Mateusz Rzeszutek
4fd52c5a7c
Encode version in library instrumentations' package names ( #7764 )
...
Another part of #932
In this PR I changed all the library instrumentation packages -- these
are breaking changes, so I figured the earlier we do this the less
painful it'll be to the users. I know that at least some of them are
actively used, so we'll need to spell this out in the release notes.
---------
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2023-02-14 23:25:59 +00:00
Lauri Tulmin
f3a21e86f5
Allow disabling muzzle checks for specific methods ( #7289 )
...
Resolves
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/2556
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/7265
made me wonder whether it would help when we could sometimes skip muzzle
checks.
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-12-12 21:18:17 +00:00
Mateusz Rzeszutek
69938b3f79
Support Spring Kafka 3 ( #7271 )
...
Fixes #7265
I took a look at the new Observation API, and I think that it still
makes sense to continue using the interceptors to implement this
instrumentation: they implement the OTel spec (which includes way more
attributes than the default observation convention implemented in
Spring), and cooperate with the Kafka client instrumentation and link
the receive and process spans together. And it's quite a simple change
in one of our interceptors, instead of rewriting everything.
(Draft because Spring Boot 3 hasn't released yet, and it is required to
run the tests. If we're not in a hurry this PR can wait a bit for that)
2022-11-29 12:07:57 +02:00
Mateusz Rzeszutek
2b8f13830a
Limit spring boot version in grails latest dep tests ( #7310 )
...
Fixes #7309
Fixes #7308
2022-11-25 15:14:09 +01:00
Lauri Tulmin
ae49d4f642
Fix rabbitmq latest deps test ( #7262 )
...
Resolves #7269
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-11-21 20:24:40 -08:00
Trask Stalnaker
93175522d4
Rename kafka propagation setting and clarify behavior ( #6957 )
2022-10-24 08:49:48 -07:00
Trask Stalnaker
6f6af66c04
Update to slf4j 2.0.2 ( #6774 )
...
~testLatestDeps is failing, see #6791~
2022-10-06 01:28:53 +00:00
Trask Stalnaker
429ecfc713
Update error prone ( #6646 )
...
(note that change from BDDMockito is due to
https://github.com/google/error-prone/issues/3396 )
2022-09-23 11:24:40 -07:00
Trask Stalnaker
ae209d9289
Rename ErrorCauseExtractor.jdk() to getDefault() ( #6580 )
...
* Rename ErrorCauseExtractor.jdk() to ErrorCauseExtractor.getDefault()
* jApiCmp
2022-09-12 17:36:34 +03:00
Lauri Tulmin
07d7cfd551
Capture messaging header value as span attribute ( #6454 )
...
* Capture messaging header value as span attribute
* add comment
2022-08-11 17:28:04 -07:00
Lauri Tulmin
8be51b3dde
Fix spring kafka latest dep tests ( #6339 )
2022-07-19 08:04:08 -07:00
Mateusz Rzeszutek
5bc7abf178
Spring Kafka library instrumentation ( #6283 )
...
* Spring Kafka library instrumentation
* Merge and fix prior merge
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-07-18 14:38:44 -07:00