Skip to content

Micronaut OpenTracing tracing does not set span Kind to 'Server' for all traces #659

@smutalik

Description

@smutalik

Expected Behavior

We want the span kind to be marked as 'Server' as it aptly represents span kind as 'Server' for Micronaut originating calls.

Actual Behaviour

As part of Micronaut Open Tracing tracing, the spans generated are not marked with Kind as 'Server'.

Steps To Reproduce

Issue can be reproduced by following any Micronaut 4.x tracing guide
https://guides.micronaut.io/latest/micronaut-microservices-distributed-tracing-jaeger-maven-java.html

Environment Information

JDK
smutalik-mac:spring-webclient smutalik$ java -version
java version "17.0.5" 2022-10-18 LTS
Java(TM) SE Runtime Environment (build 17.0.5+9-LTS-191)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.5+9-LTS-191, mixed mode, sharing)
OS MacOS

Example Application

https://guides.micronaut.io/latest/micronaut-microservices-distributed-tracing-jaeger-maven-java.html

Version

4.6.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions