Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds support for collecting anonymous usage data to help understand how the CLI is used and how to help improve the Meadow CLI, Workbench, and IDE extensions.
How to opt in
The Meadow CLI displays a message similar to the one below when you first run a Meadow CLI command and have not yet decided to participate or not.
Once a user has given their choice, that choice is saved to the Meadow CLI configuration (that can be viewed with
meadow config --list
) and this message will no longer appear.This can be overridden entirely by setting the
MEADOW_TELEMETRY
environment variable to1
/true
to opt-in or0
/false
(to opt-out). If that environment variable is set, then this message will not be displayed.A best effort is made to determine if the Meadow CLI command is being run in a continuous integration (CI) environment. If it is, then telemetry is opt-out and disabled by default.
Data points
The usage collection is for anonymous usage data only. It doesn't collect personal data such as username or email address, nor anything about the command being run outside of the command/subcommand name (no command arguments are collected).
This feature collects the following information:
The examples are based on a running the command
meadow cloud command publish my_command --collectionId 12345
.cloud command publish
hDtIQEoBKMbicpggF4r+wIB61Fjw68aP
bb4d522020164e4cadec605c4b0521d4
meadow
2.0.33
10.0.22631
Windows
X64
Microsoft Windows 10.0.22631
win-x64