Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

jorgebsa/otel-service-name-reproducer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

otel-service-name-reproducer

Reproducer to show that the fix for quarkusio/quarkus#33317 does not actually fix all scenarios, even though unit tests are passing.

As figured out by @michalvavrik, this happens when the Resource has an empty attribute list. As a workaround, in order to use the service name on versions 3.2.1 - 3.2.3 one can set a single attribute with any value, and quarkus will resolve the service name properly.

Reproducing the error

  1. Start the Jaeger all-in-one container with the provided docker-compose.yml
  2. Start the application with mvn quarkus:dev
  3. Send a GET request to http://localhost:8080/hello
  4. Open Jaeger UI and check the service list, and you will see that the value configured on quarkus.otel.service.name was not used

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published