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.

[trace view] Different color for spans from different instances of the same service

See original GitHub issue

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

Easy interpretation of larger applications with multiple internal spans from different components.

Problem

Spans from the same service all have the same color, making it hard to easily and visually separate which component inside the service the span is related to.

Proposal

Extend the existing color generator to also allow different coloring of spans with different values in the component tag.

Perhaps a two color scheme would make sense where the line (edge of the rectangle) would have the service color, and then you would have a component color as the fill.

    /**
     * COMPONENT is a low-cardinality identifier of the module, library, or package that is instrumented.
     */
    public static final StringTag COMPONENT = new StringTag("component");

Any open questions to address

Issue Analytics

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

github_iconTop GitHub Comments

5reactions
ignatandreicommented, May 22, 2021

Any progress on this ?

2reactions
rneha725commented, Mar 21, 2019

Hi, I want to work on this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

View and search for spans within a trace
Use the Search Spans bar to enter span tag values as filters for Trace Waterfall. Once you enter a filter, spans matching that...
Read more >
Trace View - Datadog Docs
View an individual trace to see all of its spans and associated metadata. Each trace can be viewed either as a flame graph...
Read more >
Understand and use the distributed tracing UI
The default view of distributed tracing shows traces grouped by the same root entry span. In other words, traces are grouped by the...
Read more >
Set different font color based on array for all spans in a ...
I could also create an iterator to keep track of the colors so they do not get deleted. Assuming the number of objects...
Read more >
Analyze data on Span level | Sumo Logic Docs
The Spans page allows you to filter and aggregate your trace data at ... If you define Visualize you'll see another option to...
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