Skip to content

Deprecation warning for reactor-netty-http-brave #2233

@bergerst

Description

@bergerst

The documentation currently contains correction steps to ensure that Logbook logs always contain spanIds and traceIds: https://docs.spring.io/spring-cloud-sleuth/docs/current/reference/htmlsingle/spring-cloud-sleuth.html#sleuht-http-client-logbook-with-webclient

This is related to feature #1690

Without reactorNettyHttpTracing.decorateHttpClient() and reactorNettyHttpTracing.decorateHttpServer(), the "Incoming Response" and "Outgoing Response" logs will not contain any spanIds and traceIds.

The module reactor-netty-http-brave will be removed in the future: https://github.com/reactor/reactor-netty/tree/v1.1.0/reactor-netty-http-brave

The deprecation warnings contain hints on using micrometer-tracing instead of reactor-netty-http-brave, but I'm not sure on how to fix the issue of the missing spanIds and traceIds with micrometer.

After a solution was found, the documentation linked above should be updated with the micrometer-tracing way of ensuring spanIds and traceIds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions