Skip to content

Commit bcc9771

Browse files
committed
Add warning to doc about using both OTel HTTP server sem. conv. and MP Metrics
1 parent b1b0efa commit bcc9771

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

docs/src/main/asciidoc/se/open-telemetry.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,13 @@ OpenTelemetry prescribes its own link:{metrics-semconv-link}[semantic convention
202202
</dependency>
203203
----
204204
205+
[NOTE]
206+
====
207+
Do not attempt to add both the Helidon support for OpenTelemetry HTTP server semantic conventions (the `helidon-webserver-observe-telemetry-metrics` component) and Helidon's Microprofile Metrics support to your project.
208+
209+
The MicroProfile Metrics specification prohibits tag names which contain dots (".") and OpenTelemetry semantic conventions prescribe tag names with dots. The MicroProfile Metrics implementation of the `Tag` type throws an exception during the attempt to create such a tag.
210+
====
211+
205212
=== Enabling OpenTelemetry for Outgoing Helidon Webclient Traffic
206213
Helidon supports the OpenTelemetry semantic conventions for outgoing traffic which uses the Helidon WebClient. See the xref:{docdir}/webclient.adoc#_configuring_telemetry[Helidon WebClient documentation].
207214

0 commit comments

Comments
 (0)