helidon-io / helidon

Java libraries for writing microservices
https://helidon.io
Apache License 2.0
3.52k stars 564 forks source link

Disconnect between telemetry configuration property warning and what the documents describe for the same situation #9509

Open rlubke opened 6 days ago

rlubke commented 6 days ago

Receiving the following warning in one of our sample applications:

2024.11.19 11:01:19 WARNING io.helidon.microprofile.telemetry.HelidonTelemetryContainerFilter Thread[#1,main,5,main]: Current OpenTelemetry semantic conventions include the HTTP method as part of REST span                                                                                           ┤
names. Your configuration does not set mp.telemetry.span.name-includes-method to true, so your service uses the legacy span name 

However, the documentation states:

If possible, assign the following config setting in your application’s META-INF/microprofile-config.properties file:

telemetry.span.name-includes-method = true

Environment Details