Distributed tracing and ServiceBus queues correlation
- Dominant language
- C#
- Stars
- 1.7k
- Forks
- 335
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 6
Description
## Context
I have a microservice A calling a microservice B which is durable function / orchestrator.
At the end of the orchestration, microservice B enqueues a message to a ServiceBus topic.
Microservice A is subscribed to this topic and waits for a callback through this topic.
Put simply:
`Microservice A ---[http]---> Microservice B (Orchestrator) ----[topic]---> Microservice A`
## Telemetry
I configured telemetry to use Application Insights and distributed tracing for the orchestration.
The request telemetry starts with microservice A, it follows with microservice B and distributed tracing works well within microservice B (great work on this part 🤗).
Unfortunately, the trace finishes when enqueuing the topic message. After that, it creates a new request that is not correlated with previous orchestration.
## Question
Is it a known behavior?
Am I missing something?
Is there any plan on this part?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.