hypertrace / hypertrace-service

Multiple hypertrace services combined together to form a single service.
Other
4 stars 15 forks source link

Kafka Consumer Spans Coming As HTTP Endpoints in Service Call View #122

Open suddendust opened 2 years ago

suddendust commented 2 years ago

Kafka consumer spans are coming as HTTP endpoints in Service Call View as can be seen in the following pictures:

Full Trace Containing Producer and Consumer Spans:

Screenshot 2022-02-22 at 2 19 17 PM

The consumer spans shows as a new Endpoint Span:

Screenshot 2022-02-23 at 1 21 26 PM

The first question is that should the consumer span be treated as a new trace? Currently, to see the consumer span, we have to expand the full trace. Otherwise, they don't see the consumer span. Jaeger on the other hand, shows it has a child of the producer span (although it's not a child technically as it's a fire-and-forget call).

Further, Hypertrace is treating these spans as HTTP spans while they're not. So you get these useless fields like status and url.