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(sessions): add trace latency p50 to session details #5236

Merged
merged 16 commits into from
Oct 31, 2024

Conversation

Parker-Stafford
Copy link
Contributor

resolves #5232

  • adds trace_latency_ms_quantile field onto project session
  • adds p50 to session details in ui

image

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Oct 30, 2024
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Oct 30, 2024
@RogerHYang
Copy link
Contributor

LGTM. Nice work!

@RogerHYang RogerHYang linked an issue Oct 31, 2024 that may be closed by this pull request
@RogerHYang
Copy link
Contributor

Can you also add a small test to this file? A minimal one will suffice. Thanks.

@Parker-Stafford
Copy link
Contributor Author

Can you also add a small test to this file? A minimal one will suffice. Thanks.

done!

@Parker-Stafford Parker-Stafford merged commit bf6c625 into sessions2 Oct 31, 2024
31 checks passed
@Parker-Stafford Parker-Stafford deleted the parker/5232-trace-latency-quantiles branch October 31, 2024 18:05
RogerHYang pushed a commit that referenced this pull request Oct 31, 2024
* feat(sessions): add trace latency p50 to session details

* fix type for latency in ui

* update test, fix where clause

* add is not none check for db filter

* revert latency dataloader changes

* revert dataloader changes for project span and trace latency

* refactor to use its own data loader

* remove extra param from test

* add unit tests

* ruff

* fix import

* fix name filter in other dataloader tests

* update unit test fixture naming, add unit test for project session graphql trace_latency_ms_quantile field

* clean up imports

* pin aiohttp

* fix unit test deps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:L This PR changes 100-499 lines, ignoring generated files.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[sessions][gql] sessions computed fields for analytics
2 participants