Files
klz-cables.com/.pnpm-store/v10/files/36/ab4bf2fa664bbd5d47915320afb4da91498ac4864cc68fb8b9ae61dbbb671cf01e65d71853e894b7c5fa57863c54c01b216bb0d8323e8d928dd0ef4ff86a37
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

24 lines
1.5 KiB
Plaintext

import { Tracer } from '@opentelemetry/api';
import { InstrumentationBase } from '@opentelemetry/instrumentation';
import { InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation';
import { FirebaseFunctions, FirebaseInstrumentationConfig, OverloadedParameters } from '../types';
/**
* Patches Firebase Functions v2 to add OpenTelemetry instrumentation
* @param tracer - Opentelemetry Tracer
* @param functionsSupportedVersions - supported versions of firebase-functions
* @param wrap - reference to native instrumentation wrap function
* @param unwrap - reference to native instrumentation unwrap function
* @param config - Firebase instrumentation config
*/
export declare function patchFunctions(tracer: Tracer, functionsSupportedVersions: string[], wrap: InstrumentationBase['_wrap'], unwrap: InstrumentationBase['_unwrap'], config: FirebaseInstrumentationConfig): InstrumentationNodeModuleDefinition;
/**
* Patches Cloud Functions for Firebase (v2) to add OpenTelemetry instrumentation
*
* @param tracer - Opentelemetry Tracer
* @param functionsConfig - Firebase instrumentation config
* @param triggerType - Type of trigger
* @returns A function that patches the function
*/
export declare function patchV2Functions<T extends FirebaseFunctions = FirebaseFunctions>(tracer: Tracer, functionsConfig: FirebaseInstrumentationConfig['functions'], triggerType: string): (original: T) => (...args: OverloadedParameters<T>) => ReturnType<T>;
//# sourceMappingURL=functions.d.ts.map