Files
klz-cables.com/.pnpm-store/v10/files/5c/57ce8561c8520253c1bc305064782cda4038d2a4895c752bf632bf1f1523daef5a61706eb0d3110e9191c4dfb5aae4af82467d0a4217c063942f8d6214e8fd
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

21 lines
756 B
Plaintext

import type { Span } from '@opentelemetry/api';
import type { 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