-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat(performance): Adds exclusive time and measurements to spans #10704
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(performance): Adds exclusive time and measurements to spans #10704
Conversation
size-limit report 📦
|
This will be used in standalone INP spans |
809e0c7
to
f7d70a0
Compare
…/v7/feat/add-exclusive-time-and-measurements-to-spans
packages/types/src/span.ts
Outdated
@@ -21,13 +22,15 @@ export type SpanAttributeValue = | |||
| boolean | |||
| Array<null | undefined | string> | |||
| Array<null | undefined | number> | |||
| Array<null | undefined | boolean>; | |||
| Array<null | undefined | boolean> | |||
| Measurements; |
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.
This breaks OTEL compatibility unfortunately. We'll just add them to span data directly for now, but we need a bigger strategy afterwards.
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.
Yeah I think we'll probably have to flatten measurements into the attributes, or something similar in the future
This reverts commit 2b495f1.
…/v7/feat/add-exclusive-time-and-measurements-to-spans
Adds exclusive_time and measurements as fields to the Span class. Drops measurements from Transactions since it is now inherited from spans.
Note: this changes
SpanAttributes
type and allows Measurements as a value