-
Notifications
You must be signed in to change notification settings - Fork 93
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
Conversation
There was a problem hiding this 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.
There was a problem hiding this 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.
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.