Skip to content

[MVP] Integrate sentry to all java-based connectors #9745

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

Merged
merged 29 commits into from
Jan 30, 2022

Conversation

alexandertsukanov
Copy link
Contributor

@alexandertsukanov alexandertsukanov commented Jan 24, 2022

What

  • Integrate Sentry to all Java-based connectors.

How

  • Add Sentry SDK.
  • Add APPLICATION_VERSION in Dockerfile.
  • Activate Sentry tracing when ENABLE_SENTRY is true.

Recommended reading order

  • Dockerfile
  • IntegrationRunner.java
  • AirbyteSentry.java

🚨 User Impact 🚨

No user impact.

Copy link
Contributor

@alexandr-shegeda alexandr-shegeda left a comment

Choose a reason for hiding this comment

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

LGTM

@alexandertsukanov alexandertsukanov temporarily deployed to more-secrets January 25, 2022 12:42 Inactive
@alexandertsukanov alexandertsukanov temporarily deployed to more-secrets January 26, 2022 12:55 Inactive
@alexandertsukanov alexandertsukanov temporarily deployed to more-secrets January 26, 2022 12:59 Inactive
@alexandertsukanov alexandertsukanov temporarily deployed to more-secrets January 26, 2022 13:06 Inactive
@alexandertsukanov alexandertsukanov temporarily deployed to more-secrets January 26, 2022 15:12 Inactive
@alexandertsukanov alexandertsukanov changed the title [DRAFT_PR] Destination Snowflake, Destination BigQuery, Destination BigQuery-denormalized: add Sentry support Destination Snowflake, Destination BigQuery, Destination BigQuery-denormalized: add Sentry support Jan 27, 2022
@alexandertsukanov alexandertsukanov temporarily deployed to more-secrets January 27, 2022 15:31 Inactive
@alexandertsukanov alexandertsukanov temporarily deployed to more-secrets January 27, 2022 17:01 Inactive
@tuliren
Copy link
Contributor

tuliren commented Jan 27, 2022

It looks like many changes are needed to actually make the integration work on cloud. The best strategy is probably to add the DSN directly in the dockerfile of snowflake and bigquery, and limit the changes to those two connectors first.

I will experiment this locally, and make some necessary changes to this PR, so that we can merge this one as soon as possible.

@github-actions github-actions bot added the area/documentation Improvements or additions to documentation label Jan 29, 2022
@tuliren tuliren temporarily deployed to more-secrets January 29, 2022 11:01 Inactive
@tuliren tuliren temporarily deployed to more-secrets January 29, 2022 11:10 Inactive
@tuliren
Copy link
Contributor

tuliren commented Jan 29, 2022

/publish connector=connectors/destination-e2e-test

🕑 connectors/destination-e2e-test https://github.com/airbytehq/airbyte/actions/runs/1766841058
❌ connectors/destination-e2e-test https://github.com/airbytehq/airbyte/actions/runs/1766841058

@tuliren
Copy link
Contributor

tuliren commented Jan 29, 2022

/publish connector=connectors/destination-dev-null

🕑 connectors/destination-dev-null https://github.com/airbytehq/airbyte/actions/runs/1766841397
❌ connectors/destination-dev-null https://github.com/airbytehq/airbyte/actions/runs/1766841397

@tuliren
Copy link
Contributor

tuliren commented Jan 29, 2022

/publish connector=connectors/source-e2e-test

🕑 connectors/source-e2e-test https://github.com/airbytehq/airbyte/actions/runs/1766841605
❌ connectors/source-e2e-test https://github.com/airbytehq/airbyte/actions/runs/1766841605

@tuliren
Copy link
Contributor

tuliren commented Jan 29, 2022

/publish connector=connectors/source-e2e-test-cloud

🕑 connectors/source-e2e-test-cloud https://github.com/airbytehq/airbyte/actions/runs/1766841823
❌ connectors/source-e2e-test-cloud https://github.com/airbytehq/airbyte/actions/runs/1766841823

@octavia-squidington-iii octavia-squidington-iii temporarily deployed to more-secrets January 29, 2022 21:23 Inactive
@octavia-squidington-iii octavia-squidington-iii temporarily deployed to more-secrets January 29, 2022 21:23 Inactive
@octavia-squidington-iii octavia-squidington-iii temporarily deployed to more-secrets January 29, 2022 21:24 Inactive
@octavia-squidington-iii octavia-squidington-iii temporarily deployed to more-secrets January 29, 2022 21:24 Inactive
@tuliren
Copy link
Contributor

tuliren commented Jan 30, 2022

Publishing is blocked. I will revert the version bump, and publish the connectors in follow-up PRs.

@tuliren tuliren temporarily deployed to more-secrets January 30, 2022 00:31 Inactive
@tuliren tuliren temporarily deployed to more-secrets January 30, 2022 00:34 Inactive
@tuliren
Copy link
Contributor

tuliren commented Jan 30, 2022

/test connector=connectors/source-e2e-test

🕑 connectors/source-e2e-test https://github.com/airbytehq/airbyte/actions/runs/1767279676
✅ connectors/source-e2e-test https://github.com/airbytehq/airbyte/actions/runs/1767279676
No Python unittests run

@tuliren
Copy link
Contributor

tuliren commented Jan 30, 2022

/test connector=connectors/destination-e2e-test

🕑 connectors/destination-e2e-test https://github.com/airbytehq/airbyte/actions/runs/1767279666
✅ connectors/destination-e2e-test https://github.com/airbytehq/airbyte/actions/runs/1767279666
No Python unittests run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Experiment with Sentry performance monitoring for BigQuery destination
6 participants