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(spans): Collect duration for all spans #3322

Merged
merged 10 commits into from
Mar 26, 2024

Conversation

phacops
Copy link
Contributor

@phacops phacops commented Mar 25, 2024

The performance summary page and trace explorer will require we collect this metric for all spans.

As for exclusive_time, we'll limit cardinality by having a reduced number of tags.

@phacops phacops requested a review from a team as a code owner March 25, 2024 16:38
@phacops phacops self-assigned this Mar 25, 2024
Copy link
Member

@jjbayer jjbayer left a comment

Choose a reason for hiding this comment

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

Code looks good to me, but I think we should add a kill switch (automator option exposed through RELAY_OPTIONS). This change will again add a lot of metrics buckets, and we've already been hitting internal limits recently.

Copy link
Member

@jjbayer jjbayer left a comment

Choose a reason for hiding this comment

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

With https://github.com/getsentry/ops/pull/9815 in place soon, I think we can risk this. We can always roll back if the load is too high.

One integration test seems to need updating.

@phacops phacops merged commit a1db65e into master Mar 26, 2024
20 checks passed
@phacops phacops deleted the pierre/spans-duration-for-all-spans branch March 26, 2024 16:02
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.

3 participants