Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tracing): bar calculation and start and end time in span attributes #1847

Merged
merged 6 commits into from
Dec 12, 2024

Conversation

sumimakito
Copy link
Member

@sumimakito sumimakito commented Dec 11, 2024

Summary

This pull request is mainly for these changes:

  • Showing the start and end date and time of the selected span in the "Span attributes" section in ISO 8601 format with nanosecond precision (KM-797):
    Screenshot 2024-12-11 at 11 27 49

  • Fixed the width and position calculation for span bars (KM-808):

    Before After
    image (30) image (31) Screenshot 2024-12-11 at 11 27 07

    The minimal width of a span bar was adjusted to 1px to show the spans with a relatively short duration more accurately.

  • Highlighting the span rows on hover (using the same color as the selected rows is intended)
    Screenshot 2024-12-11 at 14 38 57

Other changes:

  • New exported enum SpanAttributeKeys for string-based keys for span attributes
  • Refactored SpanAttributeSchema now expresses the type and usage in sampling rules of span attributes in a more structured way
  • Showing ID as fallbacks when entity links are not available
  • Fixed the function to parse the phase and plugin from a span name

@sumimakito sumimakito requested review from a team as code owners December 11, 2024 04:05
@sumimakito sumimakito requested review from kongponents-bot and a team as code owners December 11, 2024 05:48
Copy link
Member

@Leopoldthecoder Leopoldthecoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sumimakito sumimakito merged commit b570f18 into main Dec 12, 2024
9 checks passed
@sumimakito sumimakito deleted the fix/tracing-bars-and-time branch December 12, 2024 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants