firebase / firebase/firebase-ios-sdk

[FR]: Disabling screen tracker and network request metrics separately in Firebase Performance

Open
#11,060 1 comment 0 reactions 0 assignees View on GitHub
api: performance type: feature request
Dominant language
C++
Stars
6.7k
Forks
1.8k
Avg merge
2d 18h
Merged PRs (30d)
75

Description

### Description

1. 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.
2. We are not able to disable screen tracker and network request metrics separately in Firebase Performance SDK for iOS.
3. 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:

```swift
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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.