[FR]: Disabling screen tracker and network request metrics separately in Firebase Performance #11060
Open
Description
opened on Apr 2, 2023
Description
- We want to collect as little data as possible, to make sure we are not sending data we are not using for privacy and performance reasons.
- We are not able to disable screen tracker and network request metrics separately in Firebase Performance SDK for iOS.
- There should be a way to disable the screen tracker and network request metrics separately, rather than having to disable everything using the
setPerformanceCollectionEnabled
method. This would allow us to better manage our data collection and limit the amount of information being collected.
API Proposal
Either in Firebase config plist or by specifying exact metrics on Performance singleton similarly to following snippet:
Performance.sharedInstance().instrumentionGroups = [.network, .uiKit]
The documentation mentioning how to disable performance fetures should also mention this:
https://firebase.google.com/docs/perf-mon/disable-sdk?platform=ios
Firebase Product(s)
Performance
Activity