-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
fix: Remove unknown_error transaction status #2440
Conversation
@@ -91,7 +91,7 @@ export enum SpanStatus { | |||
/** The operation completed successfully. */ | |||
Ok = 'ok', | |||
/** Deadline expired before operation could complete. */ | |||
DealineExceeded = 'deadline_exceeded', |
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.
good typo :D
event.type === 'transaction' && | ||
event.timestamp && | ||
event.start_timestamp && | ||
(event.timestamp - event.start_timestamp > Tracing.options.maxTransactionDuration || |
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.
I'd extract this to something more descriptive like isOutdatedTransaction
or something, as its easier to understand what these 2 timing checks do
looks like this hasn't fully resolved the situation, as all recent transactions in some samples i pulled are unknonw_error |
^ title