sentry-docs
sentry-docs copied to clipboard
Sentry integration code generated in the documentation for koa is using deprecated methods
Environment
SaaS (https://sentry.io/)
Steps to Reproduce
- Go to https://docs.sentry.io/platforms/node/guides/koa/#monitor-performance
- See the generated integration code for koa
- Copy and paste that code into your project
Expected Result
Deprecated code messages should not be present
Actual Result
Deprecated code references are present.
Product Area
Help
Link
https://docs.sentry.io/platforms/node/guides/koa/#monitor-performance
DSN
No response
Version
No response
Assigning to @getsentry/support for routing ⏲️
Routing to @getsentry/product-owners-settings-integrations for triage ⏲️
Assigning to @getsentry/support for routing ⏲️
Routing to @getsentry/product-owners-sdks-web-frontend for triage ⏲️
Hi @michaelwiles - PRs are welcome, otherwise we are backlogging this to tackle as soon as we are done some of our other changes.
Deprecated methods should work fine for now - they were only recently deprecated in the last few minor versions of the SDK.
Generally, for this specific thing I think it's not worth it to refactor this deprecated code, because this will be completely changed in v8, when we can rely on OpenTelemetry for koa instrumentation. So keep an eye out for v8, where you hopefully won't have to manually instrument your koa app for performance anymore.