question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Visualization of followsFrom relation

See original GitHub issue

Requirement - what kind of business use case are you trying to solve?

We have multiple arbitration services that are called by multiple other service. All incoming messages are aggregated under certain conditions in a defined time window:

                             +----+
                             |    | Timer
                             v    |
                       +-------+  |
                       |       |  |
                       |   A   +--+
                       |   G   |
 Service A +---------> |   G   |
                       |   R   |    Result
 Service B +---------> |   E   | ------------->
                       |   G   |
 Service C +---------> |   A   |
                       |   T   |
                       |   E   |
                       |       |
                       +-------+

We generate a span for the result with links to the spans from all aggregated requests (OpenTelemetry Links which are exported als Jaeger followsFrom).

Problem - what in Jaeger blocks you from solving the requirement?

At moment, we have a bunch of different independent traces in the Jaeger which is not optimal for tracing the behavior.

Proposal - what do you suggest to solve the problem or improve the existing situation?

We generate a span for the result with links to the spans from all aggregated requests (OpenTelemetry Links which are exported als Jaeger followsFrom). At moment, we have a bunch of different independent traces in the Jaeger, which is quiet suboptiomal.

As the followsFrom links are not visualized yet, we brainstormed what visualization would help us.

  1. A link/followsFrom section in the span properties The section should be on the same level as Tags, Process and Logs and should contain HTML links to the spans that a) follows from and b) are followed from this span jaeger_links

  2. All linked traced should appear in the same trace view. With different “root nodes” in the Traceview This could be optionally with a “show linked traces” checkbox to enable it. mt

  3. Highlight linked (both ways) span on mouse over/selection events.

Any open questions to address

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
cg110commented, Dec 18, 2020

I’m not sure if this is also the same issue I’m having, if a span is has a Follows_From reference then it gets a link etc to the span it follows from, which is good.

However, that followed span doesn’t seem have any indication that it’s been followed. So if you look at that span there’s nothing to link it to the spans that follows. (I don’t know if this is a backend limitation or UI issue)

It’d be great to have a link so you can find the “followers”, or even better be able to have the multiple traces so the followed and followers can be on one.

In our case we’ve some async calls going on, and we get a callback once complete, in which we know the original span, and we either make that callback be a child (so all on one view) or follow_from the original span. Follow_from feels the right thing, as the callback should be it’s own trace, but it looks better in the ui as a child.

5reactions
Sushisourcecommented, Oct 1, 2021

Any update on this? I ran into this today and traces that are linked together are pretty much useless because there’s no way to see which spans follow from the span you’re looking at, only backlinks are represented in the UI.

Having a unified view of all spans that followed (ideally transitively as well) from some given span is I would suspect a use case that many, many people would care about.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Visualizing relations using the "Observable Representation"
This graphical representation is known to highlight significant properties of the original space and can serendipitously reveal unanticipated relationships. We ...
Read more >
Inverse Visualization In Data Mining
Abstract: Visualization is used in data mining for visual presenta- tion of already discovered patterns and for discovering new pat- terns visually.
Read more >
Algebraic Visualization of Relations Using RelView - CiteSeerX
We concentrate here in an analogous way on visualizing relations repre- ... R ∪ RT = L. This theorem follows from Zorn's lemma...
Read more >
BIG DATA VISUALIZATION METHODS - Part I
And as follows from the definition, there is a strict requirement applied to ... (i) Hierarchical grouping clearly shows data relations.
Read more >
Visualisation of requirements and their relations in embedded ...
The hierarchy of requirements are as follows: From a. Hazard and risk analysis to safety Goals (SGs), Functional Safety Requirements (FSRs),. Technical Safety ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found