Files
klz-cables.com/.pnpm-store/v10/files/84/70fb87c375c643b42f00be334ffdd1de60d75804ec7f56e1c7d415764a203f1e984687c55a7fc6e75c34077a8d5bf92a063f0b9258095c533ffe5fcb29ce7a
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

22 lines
768 B
Plaintext

import { Span } from '@opentelemetry/api';
import { InstrumentationConfig } from '@opentelemetry/instrumentation';
export interface FastifyRequestInfo {
request: any;
}
/**
* Function that can be used to add custom attributes to the current span
* @param span - The Fastify handler span.
* @param info - The Fastify request info object.
*/
export interface FastifyCustomAttributeFunction {
(span: Span, info: FastifyRequestInfo): void;
}
/**
* Options available for the Fastify Instrumentation
*/
export interface FastifyInstrumentationConfig extends InstrumentationConfig {
/** Function for adding custom attributes to each handler span */
requestHook?: FastifyCustomAttributeFunction;
}
//# sourceMappingURL=types.d.ts.map