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 4fedb7ff705 CAMEL-19812 add note to 4.1 upgrade guide for Tag deprecation (#11558) 4fedb7ff705 is described below commit 4fedb7ff7050cd8a9c3e75223a234d719bece242 Author: Jono Morris <jono.mor...@xtra.co.nz> AuthorDate: Wed Sep 27 17:46:04 2023 +1300 CAMEL-19812 add note to 4.1 upgrade guide for Tag deprecation (#11558) --- .../modules/ROOT/pages/camel-4x-upgrade-guide-4_1.adoc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_1.adoc b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_1.adoc index 59060d1ec75..3f43dcff947 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_1.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_1.adoc @@ -147,3 +147,21 @@ from("jetty:http://localhost:{{port}}/myapp/myservice?logException=true") The kebab-case style schema file, `camel-yaml-dsl.json` has been removed from the distribution in favor of the camelCase style schema file, `camelYamlDsl.json`. While the Camel runtime stays supporting kebab-case style also for the moment, it is recommended to migrate to camelCase style. Any tooling should encourage users to use camelCase style. +=== camel-tracing + +The `Tag` Enum containing constants for tagging spans has been deprecated. +Instead, +use constants from the `TagConstants` Class that align to Open Telemetry v1.21.0 semantic conventions. + +For example, +instead of + +---- +span.setTag(Tag.URL_SCHEME, scheme); +---- + +use + +---- +span.setTag(TagConstants.URL_SCHEME, scheme); +----