Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught FirebaseError: Performance: Custom metric name _fp is invalid (performance/invalide custom metric name) #2108

Closed
henrylearn2rock opened this issue Aug 23, 2019 · 3 comments
Assignees

Comments

@henrylearn2rock
Copy link

[REQUIRED] Describe your environment

  • Operating System version: Win10
  • Browser version: Chrome Version 76.0.3809.100 (Official Build) (64-bit)
  • Firebase SDK version: 6.4.1
  • Firebase Product: performance

[REQUIRED] Describe the problem

Steps to reproduce:

exception is thrown on load

index.cjs.js?6d09:1001 Uncaught FirebaseError: Performance: Custom metric name _fp is invalid (performance/invalide custom metric name).
    at Trace.putMetric (webpack-internal:///./node_modules/@firebase/performance/dist/index.cjs.js:1001:33)
    at Trace.incrementMetric (webpack-internal:///./node_modules/@firebase/performance/dist/index.cjs.js:986:18)
    at Function.Trace.createOobTrace (webpack-internal:///./node_modules/@firebase/performance/dist/index.cjs.js:1098:23)
    at eval (webpack-internal:///./node_modules/@firebase/performance/dist/index.cjs.js:1209:23)
    at eval (webpack-internal:///./node_modules/first-input-delay/src/first-input-delay.js:68:9)
    at Array.forEach (<anonymous>)
    at reportFirstInputDelayIfRecordedAndValid (webpack-internal:///./node_modules/first-input-delay/src/first-input-delay.js:67:17)
    at recordFirstInputDelay (webpack-internal:///./node_modules/first-input-delay/src/first-input-delay.js:51:7)
    at onInput (webpack-internal:///./node_modules/first-input-delay/src/first-input-delay.js:142:9)

Relevant Code:

none needed

@google-oss-bot
Copy link
Contributor

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

@bogacg
Copy link

bogacg commented Aug 23, 2019

I did report same error in @angular/fire since I am using it with Angular and it got updated same day so wasn't really sure which lib is the incompatible one. In my case it happened when service worker is introduced in the mix. angular/angularfire#2154

@alikn
Copy link
Contributor

alikn commented Aug 25, 2019

Thanks for reporting the issue. Please update to the latest version. It should be fixed as of this pr:
#2110

@alikn alikn closed this as completed Aug 25, 2019
@firebase firebase locked and limited conversation to collaborators Oct 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants