This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 54b541b382c1 CAMEL-26611: camel-micrometer,
camel-opentelemetry-metrics - upgrade guide notes for 4.22.3 and 4.18.6 (#29262)
54b541b382c1 is described below
commit 54b541b382c1652dd725328461682be97bdbd800
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Nov 5 16:59:39 2026 +0100
CAMEL-26611: camel-micrometer, camel-opentelemetry-metrics - upgrade guide
notes for 4.22.3 and 4.18.6 (#29262)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Claus Ibsen <[email protected]>
---
.../modules/ROOT/pages/camel-4x-upgrade-guide-4_18.adoc | 11 +++++++++++
.../modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc | 11 +++++++++++
2 files changed, 22 insertions(+)
diff --git
a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_18.adoc
b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_18.adoc
index 5f3bdfaca1fd..8f7a384b8c6c 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_18.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_18.adoc
@@ -704,6 +704,17 @@ auto-mock names, tracing and metrics are the same as
before.
Two routes that consume from the same address with different endpoint options
are no longer rejected at startup as
"Multiple consumers for the same endpoint is not allowed". Use one consumer
per address.
+=== camel-micrometer, camel-opentelemetry-metrics - tags and attributes from
headers are used as given
+
+The `micrometer` and `opentelemetry-metrics` producers now use the tags of the
`CamelMetricsTags` header and the
+attributes of the `CamelMetricsAttributes` header as given. Before, their keys
and values were evaluated as Simple
+expressions, in the same way as the `tags` and `attributes` URI options. The
URI options are still evaluated per
+exchange, and a tag or attribute from the header still overrides one from the
URI with the same key.
+
+A route that relied on a Simple expression in a header tag or attribute should
use the `tags` / `attributes` URI
+option instead (for example `tags.customer=${header.customerId}`), or compute
the value in the route before
+setting the header.
+
== Upgrading from 4.18.4 to 4.18.5
=== camel-azure-eventhubs
diff --git
a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc
b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc
index 82f3a2f9524c..068f0d5bf841 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc
@@ -550,6 +550,17 @@ auto-mock names, tracing and metrics are the same as
before.
Two routes that consume from the same address with different endpoint options
are no longer rejected at startup as
"Multiple consumers for the same endpoint is not allowed". Use one consumer
per address.
+=== camel-micrometer, camel-opentelemetry-metrics - tags and attributes from
headers are used as given
+
+The `micrometer` and `opentelemetry-metrics` producers now use the tags of the
`CamelMetricsTags` header and the
+attributes of the `CamelMetricsAttributes` header as given. Before, their keys
and values were evaluated as Simple
+expressions, in the same way as the `tags` and `attributes` URI options. The
URI options are still evaluated per
+exchange, and a tag or attribute from the header still overrides one from the
URI with the same key.
+
+A route that relied on a Simple expression in a header tag or attribute should
use the `tags` / `attributes` URI
+option instead (for example `tags.customer=${header.customerId}`), or compute
the value in the route before
+setting the header.
+
== Upgrading from 4.22.1 to 4.22.2
=== camel-lra - only an LRA hosted by the configured coordinator is joined