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

Telemetry enabled flag should be easy to query from azure cli extensions #12285

Closed
atbagga opened this issue Feb 20, 2020 · 2 comments · Fixed by #12400
Closed

Telemetry enabled flag should be easy to query from azure cli extensions #12285

atbagga opened this issue Feb 20, 2020 · 2 comments · Fixed by #12400
Assignees
Milestone

Comments

@atbagga
Copy link
Contributor

atbagga commented Feb 20, 2020

Is your feature request related to a problem? Please describe.
We have an extensions where we log telemetry after user permission. Since Azure CLI allows users to set this we depend on reading this value.

There should be a way to query this using azure cli core api so the logic is consistent.

Describe the solution you'd like
Azure CLI core telemetry module should have a is_telemetry_enabled() function which returns whether telemetry collection is allowed or not.

This is with reference to issue: Azure/azure-devops-cli-extension#950

@yungezz
Copy link
Member

yungezz commented Feb 21, 2020

good suggestion, will look at it.

@yungezz yungezz added this to the S166 milestone Feb 21, 2020
@fengzhou-msft
Copy link
Member

Planned in S166.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants