You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Adding telemetry disclaimer
* replacing AAD with Entra ID
Co-authored-by: Charles Lowell <[email protected]>
* making the steps more explicit
Co-authored-by: Grace Wilcox <[email protected]>
* fixing spacing
* changing headings to msft standard
* adding link to telemetry guidance
* adding cred options to the sample
* removing repeated options setting
---------
Co-authored-by: Charles Lowell <[email protected]>
Co-authored-by: Grace Wilcox <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+49Lines changed: 49 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,55 @@ Security issues and bugs should be reported privately, via email, to the Microso
68
68
* File an issue via [Github Issues](https://github.com/Azure/azure-sdk-for-go/issues)
69
69
* Check [previous questions](https://stackoverflow.com/questions/tagged/azure+go) or ask new ones on StackOverflow using `azure` and `go` tags.
70
70
71
+
## Data Collection
72
+
The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry as described below. You can learn more about data collection and use in the help documentation and Microsoft’s [privacy statement](https://go.microsoft.com/fwlink/?LinkID=824704). For more information on the data collected by the Azure SDK, please visit the [Telemetry Guidelines](https://azure.github.io/azure-sdk/general_azurecore.html#telemetry-policy) page.
73
+
74
+
### Telemetry Configuration
75
+
Telemetry collection is on by default.
76
+
77
+
To opt out, you can disable telemetry at client and credential construction. Set `Disabled` to true in `ClientOptions.Telemetry`. This will disable telemetry for all methods in the client. Do this for every new client and credential created.
78
+
79
+
The example below uses the `azblob` module. In your code, you can replace `azblob` with the package you are using.
> Please note that `AzureDeveloperCLICredential` and `AzureCLICredential` do not include `ClientOptions.Telemetry`. Therefore, it is unnecessary to set options in these credentials.
0 commit comments