If you're a user of both Codecov and Sentry, you can enable the Codecov integration with 1 click in your Organization Settings page in the Sentry app. You'll be able to see whether you have partial or full test coverage for the line of code that's causing an error, directly in your stack trace in Sentry.
There are a few prerequisites that have to be fulfilled in order for Codecov to work in Sentry. You have to have:
Owner or manager-level permissions in Sentry.io.
- If you have the GitHub integration set up correctly, your stack traces will show an “Open this line in GitHub” prompt that will take you to your app's code.
Once the prerequisites have been met, you can enable Codecov by going to the Settings page in Sentry and toggling “Enable Code Coverage Insights” to on.