envoyproxy / envoyproxy/envoy-mobile

ios/android: allow enable/disable of lifecycle stats flushing

Open
#721 2 comments 0 reactions 2 assignees Claimed by @buildbreaker View on GitHub
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

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.