Set Up

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.

  • The GitHub Integration installed in Sentry with Code Mappings enabled.

  • A Codecov account with Source Code Coverage enabled.

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.

Codecov in Org Settings

Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").