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

feat(trace): add a span aside with timing info and feedback #4071

Merged
merged 4 commits into from
Jul 30, 2024

Conversation

mikeldking
Copy link
Contributor

resolves #4029

Adds a span aside section that can be collapsed that contains timing info. Will add annotations next.
Screenshot 2024-07-30 at 8 47 10 AM

@dosubot dosubot bot added the size:XL This PR changes 500-999 lines, ignoring generated files. label Jul 30, 2024
@mikeldking mikeldking force-pushed the mikeldking/4029-span-details branch from c1bc504 to eaaef2f Compare July 30, 2024 19:02
@mikeldking mikeldking changed the title feat(trace): add a span aside with timing info feat(trace): add a span aside with timing info and feedback Jul 30, 2024
() => (endTime ? new Date(endTime) : null),
[endTime]
);
const latencyMs = useMemo(() => {
Copy link
Contributor

Choose a reason for hiding this comment

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

same

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yup, I think it should be there

const spanInfoWrapCSS = css`
flex: 1 1 auto;
overflow-y: auto;
// Overflow fails to take into account padding
Copy link
Contributor

Choose a reason for hiding this comment

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

could this be solved with box-sizing or something?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tried box-sizing and it's not working. Not sure why

@mikeldking mikeldking merged commit 275ad73 into main Jul 30, 2024
3 of 5 checks passed
@mikeldking mikeldking deleted the mikeldking/4029-span-details branch July 30, 2024 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XL This PR changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[annotations][UI] place annotations and other info in a slide over on span info
2 participants