Oleksandr Shevchenko
ce75f008b0
Add baggage tag fields to spans with OpenTelemetry
...
With OpenTelemetry, fields listed in management.tracing.baggage.tag-fields
only became span tags when the application itself touched the baggage
through the Tracer API. Baggage that arrived with a request was
propagated correctly, but spans were not tagged with it (see
micrometer-metrics/tracing#933 ).
This commit registers Micrometer Tracing's BaggageTaggingSpanProcessor
whenever baggage is enabled and at least one tag field is configured, so
that spans are tagged with the baggage that is present in their parent
context. A custom BaggageTaggingSpanProcessor bean backs off the
auto-configured one. The tag-fields property is now also mentioned in
the baggage section of the tracing documentation.
See gh-51656
Signed-off-by: Oleksandr Shevchenko <oleksandr.shevchenko@datarobot.com >
2026-09-11 11:18:02 +01:00
..
2026-09-08 16:46:48 +02:00
2026-09-07 08:27:14 +01:00
2026-09-02 14:24:39 +01:00
2026-09-08 17:29:34 +02:00
2026-09-08 17:29:34 +02:00
2026-09-08 17:29:34 +02:00
2026-05-14 15:02:24 +01:00
2026-07-15 18:11:53 +02:00
2026-07-24 15:57:23 +02:00
2026-09-08 16:57:00 +02:00
2026-07-24 15:57:23 +02:00
2026-09-08 16:57:00 +02:00
2026-05-14 15:02:24 +01:00
2026-09-08 16:46:48 +02:00
2026-09-09 13:52:28 +01:00
2026-09-08 16:46:48 +02:00
2026-09-08 16:46:48 +02:00
2026-09-08 16:46:48 +02:00
2026-09-09 10:00:36 +01:00
2026-05-14 15:02:24 +01:00
2026-09-08 16:46:48 +02:00
2026-09-08 18:30:35 +02:00
2026-09-08 18:30:35 +02:00
2026-09-09 10:00:36 +01:00
2026-05-14 15:02:24 +01:00
2026-09-07 08:26:42 +01:00
2026-05-14 15:03:44 +01:00
2026-05-14 15:02:24 +01:00
2026-09-08 16:46:48 +02:00
2026-05-30 14:28:53 +02:00
2026-09-08 16:46:48 +02:00
2026-09-08 16:46:48 +02:00
2026-09-08 16:46:48 +02:00
2026-09-09 10:00:36 +01:00
2026-05-14 15:02:24 +01:00
2026-09-08 16:57:00 +02:00
2026-09-08 16:46:48 +02:00
2026-05-14 15:03:44 +01:00
2026-09-07 08:27:14 +01:00
2026-09-08 18:30:45 +02:00
2026-09-08 17:29:34 +02:00
2026-07-15 11:37:31 +02:00
2026-08-11 14:43:45 +02:00
2026-05-14 15:02:24 +01:00
2026-07-30 08:41:53 +02:00
2026-08-11 12:34:44 +01:00
2026-09-07 12:20:42 +01:00
2026-08-10 14:40:53 +02:00
2026-07-14 11:23:34 +02:00
2026-07-22 11:40:12 +02:00
2026-05-14 15:02:24 +01:00
2026-09-09 10:00:23 +01:00
2026-09-07 08:26:42 +01:00
2026-09-09 10:37:59 +01:00
2026-09-07 12:20:30 +01:00
2026-07-16 14:52:42 +02:00
2026-07-27 21:16:50 +02:00
2026-09-02 14:18:14 +01:00
2026-08-25 14:07:23 -07:00
2026-08-25 13:58:58 -07:00
2026-09-08 16:57:00 +02:00
2026-09-08 16:46:48 +02:00
2026-07-27 21:12:35 +02:00
2026-09-07 12:20:42 +01:00
2026-09-07 12:20:42 +01:00
2026-05-14 15:03:44 +01:00
2026-05-14 15:03:44 +01:00
2026-09-04 10:07:51 +01:00
2026-09-07 08:26:42 +01:00
2026-05-14 15:02:24 +01:00
2026-09-08 17:29:34 +02:00
2026-07-14 11:23:34 +02:00
2026-09-08 17:29:34 +02:00
2026-09-08 16:57:00 +02:00
2026-09-08 17:29:34 +02:00
2026-09-08 16:56:36 +01:00
2026-07-29 11:37:35 +02:00
2026-05-14 15:02:24 +01:00
2026-08-25 13:54:00 +02:00
2026-08-25 13:54:00 +02:00
2026-09-11 11:18:02 +01:00
2026-05-14 15:02:24 +01:00
2026-09-08 17:29:34 +02:00
2026-07-27 16:13:10 +02:00
2026-09-08 17:29:34 +02:00
2026-05-14 15:02:24 +01:00
2026-09-08 17:29:34 +02:00
2026-05-14 15:02:24 +01:00
2026-09-08 17:29:34 +02:00
2026-07-15 11:37:31 +02:00
2026-09-08 17:29:34 +02:00
2026-09-08 17:29:34 +02:00
2026-05-30 14:28:53 +02:00
2026-09-07 08:27:14 +01:00
2026-09-07 08:27:14 +01:00
2026-09-07 08:27:14 +01:00
2026-05-14 15:02:24 +01:00
2026-07-27 21:12:35 +02:00
2026-09-07 08:18:11 +01:00
2026-05-14 15:02:24 +01:00
2026-09-04 16:20:05 +01:00
2026-09-04 16:20:05 +01:00
2026-09-04 16:20:05 +01:00
2026-09-08 16:51:49 +01:00
2026-09-09 10:37:08 +01:00
2026-05-30 15:45:22 +02:00
2026-05-14 15:02:24 +01:00
2026-07-24 15:10:43 +02:00
2026-07-15 20:19:19 +02:00
2026-09-08 16:57:00 +02:00
2026-05-14 15:03:44 +01:00
2026-09-07 08:18:11 +01:00
2026-05-14 15:03:44 +01:00
2026-05-30 14:39:57 +02:00
2026-09-07 09:58:08 +01:00
2026-05-14 15:02:24 +01:00
2026-09-02 14:15:45 +01:00
2026-09-07 08:27:14 +01:00
2026-05-14 15:03:44 +01:00
2026-06-24 12:15:19 +01:00
2026-05-14 15:02:24 +01:00
2026-09-09 08:21:24 +01:00
2026-05-14 15:02:24 +01:00
2026-09-07 08:27:14 +01:00
2026-07-24 08:51:46 +02:00
2026-09-07 08:27:14 +01:00
2026-05-14 15:02:24 +01:00
2026-07-24 15:10:43 +02:00
2026-07-14 11:23:34 +02:00
2026-09-08 16:46:48 +02:00