-
Notifications
You must be signed in to change notification settings - Fork 70
feat(compute): add metadata subcommand
#1013
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
Conversation
3420dad to
a516765
Compare
|
I've converted this PR to draft until we've had time to agree on what the 'default' behaviour is going to be and also the sequencing of events to the rollout of this feature. |
2cdf8ae to
db01ef9
Compare
compute metadata command
compute metadata commandcompute metadata command
compute metadata commandmetadata subcommand
joeshaw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM except for the FIXME for the URL. One suggestion below if you like it.
0deae51 to
de810cb
Compare
|
@joeshaw PR has been amended as per your feedback. The new output will look something like... |
e8e6f65 to
502108b
Compare
|
Thanks. LGTM other than the FIXME. |
3f8a4de to
b2e7a99
Compare
62d3487 to
2d71aa2
Compare
2d71aa2 to
59d1866
Compare
1dded33 to
6f28879
Compare
6f28879 to
9f5b4dd
Compare
pkg/app/run.go
Outdated
| // FIXME: We need the actual URL to point users to. | ||
| text.Important(g.Output, "The Fastly CLI is configured to collect data related to Wasm builds (e.g. compilation times, resource usage, and other non-identifying data). To learn more about what data is being collected, why, and how to disable it: https://www.fastly.com/") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jaskiratr we'll need an actual URL here (or should this be https://bit.ly/wasm-metadata which points to our community forum thread on the topic)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll update the CLI reference page with the information about what data is being collected, why, and how to disable it
27b1956 to
e35ebba
Compare
This PR introduces a new
fastly compute metadatacommand.It should only be merged after #1016 is merged.
Below are some screenshots highlighting how the new
compute metadatacommand works...Below is a screenshot highlighting the new
compute metadatamessaging for users who install the CLI for the first time or who upgrade to the CLI version that includes metadata collection...