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(tracing): Add metadata around idleTimeout #4251

Merged
merged 2 commits into from
Dec 8, 2021

Conversation

AbhiPrasad
Copy link
Member

  • Add tag if user sets custom idleTimeout
  • Add tag if user sets reportAllChanges option
  • Add finish reason tag to idleTransactions (tracked in enum)

- Add tag if user sets custom idleTimeout
- Add tag if user sets reportAllChanges option
- Add finish reason tag to idleTransactions (tracked in enum)

export const DEFAULT_METRICS_INSTR_OPTIONS: MetricsInstrumentationOptions = {
_reportAllChanges: false,
};
Copy link
Member Author

Choose a reason for hiding this comment

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

Removed this logic to save on bundle size. We can add back in an options object when we have more than 1 option.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 8, 2021

size-limit report

Path Base Size (f6be133) Current Size Change
@sentry/browser - CDN Bundle (gzipped) 22.45 KB 22.45 KB +0.02% 🔺
@sentry/browser - Webpack 23.29 KB 23.29 KB 0%
@sentry/react - Webpack 23.32 KB 23.32 KB 0%
@sentry/nextjs Client - Webpack 47.98 KB 48.08 KB +0.21% 🔺
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped) 29.9 KB 29.99 KB +0.3% 🔺

@AbhiPrasad AbhiPrasad enabled auto-merge (squash) December 8, 2021 20:06
@AbhiPrasad AbhiPrasad merged commit bb80135 into master Dec 8, 2021
@AbhiPrasad AbhiPrasad deleted the abhi-idletimeout-tag branch December 8, 2021 20:21
onurtemizkan pushed a commit that referenced this pull request Dec 19, 2021
- Add tag if user sets custom idleTimeout
- Add tag if user sets reportAllChanges option
- Add finish reason tag to idleTransactions (tracked in enum)
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.

None yet

2 participants