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

fix: Remove unknown_error transaction status #2440

Merged
merged 3 commits into from
Feb 19, 2020
Merged

Conversation

HazAT
Copy link
Member

@HazAT HazAT commented Feb 19, 2020

^ title

@HazAT HazAT requested a review from kamilogorek as a code owner February 19, 2020 09:24
@HazAT HazAT self-assigned this Feb 19, 2020
@@ -91,7 +91,7 @@ export enum SpanStatus {
/** The operation completed successfully. */
Ok = 'ok',
/** Deadline expired before operation could complete. */
DealineExceeded = 'deadline_exceeded',
Copy link
Member

Choose a reason for hiding this comment

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

good typo :D

@getsentry-bot
Copy link
Contributor

getsentry-bot commented Feb 19, 2020

Warnings
⚠️ Please add a changelog entry for your changes.
Messages
📖 ✅ TSLint passed
📖

@sentry/browser bundle gzip'ed minified size: (ES5: 16.7598 kB) (ES6: 15.7725 kB)

Generated by 🚫 dangerJS against 5e90412

event.type === 'transaction' &&
event.timestamp &&
event.start_timestamp &&
(event.timestamp - event.start_timestamp > Tracing.options.maxTransactionDuration ||
Copy link
Contributor

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

@HazAT HazAT changed the title ref: Mark transaction as failed on error fix: Remove unknown_error transaction status Feb 19, 2020
@kamilogorek kamilogorek self-requested a review February 19, 2020 12:01
@HazAT HazAT merged commit 779dfe3 into master Feb 19, 2020
@HazAT HazAT deleted the feat/failed-transactions branch February 19, 2020 12:02
@dcramer
Copy link
Member

dcramer commented Feb 27, 2020

looks like this hasn't fully resolved the situation, as all recent transactions in some samples i pulled are unknonw_error

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.

5 participants