envoyproxy / envoyproxy/envoy-mobile
ios/android: allow enable/disable of lifecycle stats flushing
Open
no stalebot
observability/stats
platform/android
platform/ios
- Dominant language
- Java
- Stars
- 566
- Forks
- 85
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/lyft/envoy-mobile/pull/717 added functionality for flushing stats based on app lifecycle changes.
Right now this new stats flushing behavior is enabled by default. In the future, we would like to investigate making it optional using the builder pattern. For example:
```swift
EnvoyClientBuilder()
.addAppLifecycleHandling()
.build()
```
```kotlin
AndroidEnvoyClientBuilder(baseContext)
.addAppLifecycleHandling(getApplication())
.build()
```
Contributor guide
Assessment
This issue has not been assessed yet.