Continue tracing on NodeJS a span started with Sleuth - B3 on Spring Boot #4154
Unanswered
yanosh1982
asked this question in
Q&A
Replies: 1 comment
-
Can you please give me any clarification? I'm new to this kind of problems so I apologize if the question sounds strange |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm developing a microservices based application with three services:
The Orchestrator service is a Spring Boot application that traces requests with Sleuth / B3. Here an example log entry:
The three microservices communicate through a Kafka Broker so at the end of the request processing the Orchestrator service put a message in a Kafka topic sending the following headers (including the B3 headers):
The receiving service is a NestJS service that uses OpenTelemetry with a B3 propagator to intercept the B3 headers from the Kafka message. Now i would like to continue the tracing of the TraceId and SpanId created with Sleuth but I can't figure out how to do it. This is how I have configured Open Telemetry on the NestJS service:
tracer.js
main.ts
and this is what the NestJS microservice logs:
as you can see the trace id is different from the original created by Sleuth.
Thanks in advace.
Beta Was this translation helpful? Give feedback.
All reactions