Skip to content
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

Analytics / Telemetry #582

Merged
merged 44 commits into from
Nov 20, 2023
Merged

Analytics / Telemetry #582

merged 44 commits into from
Nov 20, 2023

Conversation

adinauer
Copy link
Member

📜 Description

We now send telemetry data unless a self hosted url has been set. This can be disabled via the telemetry option.

💡 Motivation and Context

Closes #223

💚 How did you test it?

Manually using samples

📝 Checklist

  • I reviewed the submitted code
  • I added tests to verify the changes
  • I updated the docs if needed
  • No breaking changes

🔮 Next steps

  • Fix tests

@github-actions
Copy link
Contributor

github-actions bot commented Oct 23, 2023

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 9d76cb9

@adinauer adinauer marked this pull request as ready for review November 3, 2023 09:02
@adinauer adinauer requested a review from markushi as a code owner November 3, 2023 09:02
BuildOperationListener,
AutoCloseable {

private var hub: IHub = NoOpHub.getInstance()
Copy link
Member

Choose a reason for hiding this comment

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

m: I believe all of this should be atomic, because it can be accessed by multiple tasks in parallel as mentioned here https://docs.gradle.org/current/javadoc/org/gradle/api/services/BuildService.html

Copy link
Member

@romtsn romtsn left a comment

Choose a reason for hiding this comment

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

Looks good overall, just some comments on the SentryTelemetryService where I wasn't sure about some things, so I haven't changed them myself. 🚀

@romtsn
Copy link
Member

romtsn commented Nov 15, 2023

Oh and maybe one more thing - maybe we should have at least one test that disables telemetry and verifies that the hub is no-op (or just a log message at least)

@romtsn romtsn merged commit 023d140 into main Nov 20, 2023
16 checks passed
@romtsn romtsn deleted the feat/analytics branch November 20, 2023 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add analytics for the gradle plugin
2 participants