
Codecov (Sentry)
Connect Codecov (Sentry) to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.
Enter your Codecov API token to automatically pull your code coverage data into the PostHog Data warehouse.
You can generate a personal API token under Settings → Access in your Codecov account. The token mirrors your own permissions on the git provider, so it can read every repository you can.
By default all of the owner's active repositories are synced; enter a comma-separated list of repository names to limit the import.
Configuration
| Option | Type | Required |
|---|---|---|
Git provider | select | Yes |
Owner username | text | Yes |
API token | password | Yes |
Repositories (optional) | text | No |
Linking Codecov (Sentry) to PostHog
- Go to the Data pipeline page in PostHog
- Click New source and select Codecov (Sentry)
- Fill in the required configuration fields
- Click Next, select the tables you want to sync, and then press Import