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

fix: only collect OS type; fix method name; add readme #4579

Merged
merged 2 commits into from
Oct 3, 2024

Conversation

frrist
Copy link
Member

@frrist frrist commented Oct 2, 2024

What:

  • Fix NodeID option name (cosmetic change)
  • Only collect OS type, instead of all details
  • Add a README.md describing what is collected, and how to opt out of collection

@frrist frrist self-assigned this Oct 2, 2024
@frrist frrist requested review from wdbaruni and seanmtracey October 2, 2024 19:49
@@ -0,0 +1,118 @@
# What Data is shared by users of Bacalhau?
Copy link
Member Author

Choose a reason for hiding this comment

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

@seanmtracey @aronchick is here is README on the data being collected, along with steps to opt out. Feedback welcome.

@@ -260,7 +260,7 @@ func serve(cmd *cobra.Command, cfg types.Bacalhau, fsRepo *repo.FsRepo) error {

if !cfg.DisableAnalytics {
err = analytics.SetupAnalyticsProvider(ctx,
analytics.WithNodeNodeID(sysmeta.NodeName),
analytics.WithNodeID(sysmeta.NodeName),
Copy link
Member Author

@frrist frrist Oct 2, 2024

Choose a reason for hiding this comment

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

@wdbaruni is collecting the name of the node acceptable, just want to double check. Would it be better to use the hash of the name instead?

resource.WithOS(),
resource.WithOSType(),
Copy link
Member Author

Choose a reason for hiding this comment

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

@wdbaruni I have reduced the information collected here (from what was requested in the initial POC) to just the operating system type. Prior to this change, this field contained data like:

Linux cypress 6.8.0-40-generic #40~22.04.3-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 30 17:30:19 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Which is beyond the scope of the information we want to share.

@frrist frrist merged commit b5a4918 into main Oct 3, 2024
3 of 4 checks passed
@frrist frrist deleted the frrist/analytics-limit-scope branch October 3, 2024 16:31
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.

2 participants