Skip to content

Please support extension mv3 background performance trace #6860

Open
@hoyangtsai

Description

@hoyangtsai

Describe your environment

  • Operating System version: macOS 12.6.1
  • Browser version: Chrome 107.0.5304.121
  • Firebase SDK version: 9.14.0
  • Firebase Product: performance

Describe the problem

Steps to reproduce:

I was trying to trace a specific task at mv3 background. But I got this kind of log messages, the trace can't report back to firebase console.

image

Relevant Code:

import { initializeApp } from "firebase/app";
import { getPerformance } from "firebase/performance";

const firebaseConfig = {
  // ...
};

// Initialize Firebase
const firebaseApp = initializeApp(firebaseConfig);
const performance = getPerformance(firebaseApp);

try {
  const tracer = trace(performance, 'resolveMerchant');
  tracer.start();
  const merchant = await resolveMerchant(store)(url);
  tracer.stop();
} catch (err) {  }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions