FR: Firebase Performance Web - Add config to disable global performance api hooks
Operating System
web
Browser Version
all
Firebase SDK Version
0.6.4
Firebase SDK Product:
Performance
Describe your project's tooling
Angular app with angular cli and @angular/fire
Describe the problem
We have many usages of the web performance api to measure timings outside of firebase.
This results in quite a bit of extra data and noise getting sent to firebase.
It would be cool to have a config that turned off the automatic logging of all web performance api usages.
Steps and code to reproduce issue
Use the web performance api for anything. Note that all it's data is sent to firebase.
We would like to disable the automatic logging of all web performance api usages.
Hi @statop, thanks for reaching out to us. Does our documentation: Disable Firebase Performance Monitoring cover the feature you are asking?
Hi @statop, thanks for reaching out to us. Does our documentation: Disable Firebase Performance Monitoring cover the feature you are asking?
No, that disables everything and/or the automatic metrics like first paint. We want those.
We just want to disable firebase performance hooking into the window.performance api and logging all usages of window.performance.measure. That hook is basically sending all usages of window.performance to firebase. That generates a tremendous amount of noise. We use that api all over the place to measure other things.
We like the automatic network metrics and things like first paint, but the logging of all regular window.performance.measure usage needs to be able to be disabled.
Basically something to disable the code in setupUserTimingTraces()
Thanks for the clarification. I'll get this routed to the right team(s) for consideration.
I'll also leave this feature request open, so our engineers and other members of the community can share their thoughts about this matter.
any update on this? there is just too much noise, an option like this would be huge. any chance of it being implemented? thx