firebase / firebase/firebase-android-sdk

Support performance HTTP auto tracing with OkHTTP v4+

Open
#3,465 10 comments 5 reactions 0 assignees View on GitHub
api: performance type: feature request
Dominant language
Java
Stars
2.6k
Forks
710
Avg merge
2d 23h
Merged PRs (30d)
34

Description

## What feature would you like to see?

Hi there!
This came up in react-native-firebase repo: https://github.com/invertase/react-native-firebase/issues/6082#issuecomment-1044683057
It appears per your docs that HTTP auto tracing is only supported with OkHTTP v3: https://firebase.google.com/docs/perf-mon/network-traces?platform=android#:~:text=Performance%20Monitoring%20automatically%20collects%20metrics,specifically%20HTTP%20client%20v3.x.x

But react-native ecosystem has moved on at long last to OkHTTP v4+

Is it possible to update performance auto-tracing to support OkHTTP v4+?

## How would you use it?

We would use it to automatically trace HTTP requests in our react-native projects, but with up to date react-native versions that now depend on OkHTTP v4+

cc @OrkhanAlikhanov

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.