Azure / Azure/azure-sdk-for-java
[FEATURE REQ] Add possibility to disable/enable StatsbeatModule.
- Dominant language
- Java
- Stars
- 2.6k
- Forks
- 2.2k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 178
Description
**Is your feature request related to a problem? Please describe.**
Customer may disable collecting telemetry in our product by settings panel. After that, no network traffic related to telemetry should happen. Customer should not be forced to restart product after disabling telemetry. AzureMonitorExporterBuilder.initializeIfNot creates and start StatsbeatModule without giving possibility to call shutdown on instance of this StatsbeatModule.
**Describe the solution you'd like**
Add to ConfigProperties the option "applicationinsights.statsbeat.enabled" similar to existing one "applicationinsights.live.metrics.enabled", which willl be handled in initializeIfNot and will allows to not use statsbeat. We use only Log events and this statsbeat is not usefull for us.
**Information Checklist**
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
- [V ] Description Added
- [V] Expected solution specified
Contributor guide
Assessment
This issue has not been assessed yet.