Skip to content

[vcpkg metrics] Allow someone to opt out after build#11542

Merged
strega-nil merged 4 commits intomicrosoft:masterfrom
strega-nil:metrics
May 29, 2020
Merged

[vcpkg metrics] Allow someone to opt out after build#11542
strega-nil merged 4 commits intomicrosoft:masterfrom
strega-nil:metrics

Conversation

@strega-nil
Copy link
Copy Markdown
Contributor

@strega-nil strega-nil commented May 23, 2020

This PR adds an option --disable-metrics and an environment variable VCPKG_DISABLE_METRICS which turn off metrics, even if the binary was built with metrics enabled.

Additionally, as a drive-by, we now use the built-in JSON support.

Fixes issue #11542

@strega-nil strega-nil requested review from BillyONeal and dan-shaw May 23, 2020 22:51
@strega-nil strega-nil added category:vcpkg-feature The issue is a new capability of the tool that doesn’t already exist and we haven’t committed info:internal labels May 23, 2020
@strega-nil strega-nil force-pushed the metrics branch 5 times, most recently from 1fb7228 to a501139 Compare May 26, 2020 19:34
Additionally, add floats to the JSON library since they're required.
Additionally, as a drive by, fix UUID generation
@strega-nil strega-nil requested a review from BillyONeal May 28, 2020 15:43
@dan-shaw
Copy link
Copy Markdown
Contributor

LGTM

@strega-nil
Copy link
Copy Markdown
Contributor Author

@dan-shaw could you message me on teams?

strega-nil added a commit to strega-nil/vcpkg that referenced this pull request May 5, 2021
* [vcpkg metrics] start using json library

Additionally, add floats to the JSON library since they're required.

* [vcpkg metrics] allow users to disable metrics after the build

Additionally, as a drive by, fix UUID generation

* fix metrics data

* code review
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:vcpkg-feature The issue is a new capability of the tool that doesn’t already exist and we haven’t committed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants