Files
klz-cables.com/.pnpm-store/v10/files/1c/1660f7b9c65a417337bc34a5500c07fe3a9cd0a47d78221da99dfdb49c1eda26091b761f86d61238c009d21b2538ab63eb7de5117178a8d8aa0c62ac7279d0
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

35 lines
1.7 KiB
Plaintext

/// <reference types="node" />
import { Context, HrTime, Span, Attributes } from '@opentelemetry/api';
import { SemconvStability } from '@opentelemetry/instrumentation';
import type * as amqp from 'amqplib';
export declare const MESSAGE_STORED_SPAN: unique symbol;
export declare const CHANNEL_SPANS_NOT_ENDED: unique symbol;
export declare const CHANNEL_CONSUME_TIMEOUT_TIMER: unique symbol;
export declare const CONNECTION_ATTRIBUTES: unique symbol;
export type InstrumentationConnection = amqp.Connection & {
[CONNECTION_ATTRIBUTES]?: Attributes;
};
export type InstrumentationPublishChannel = (amqp.Channel | amqp.ConfirmChannel) & {
connection: InstrumentationConnection;
};
export type InstrumentationConsumeChannel = amqp.Channel & {
connection: InstrumentationConnection;
[CHANNEL_SPANS_NOT_ENDED]?: {
msg: amqp.ConsumeMessage;
timeOfConsume: HrTime;
}[];
[CHANNEL_CONSUME_TIMEOUT_TIMER]?: NodeJS.Timeout;
};
export type InstrumentationMessage = amqp.Message & {
[MESSAGE_STORED_SPAN]?: Span;
};
export type InstrumentationConsumeMessage = amqp.ConsumeMessage & {
[MESSAGE_STORED_SPAN]?: Span;
};
export declare const normalizeExchange: (exchangeName: string) => string;
export declare const getConnectionAttributesFromServer: (conn: amqp.Connection) => Attributes;
export declare const getConnectionAttributesFromUrl: (url: string | amqp.Options.Connect, netSemconvStability: SemconvStability) => Attributes;
export declare const markConfirmChannelTracing: (context: Context) => Context;
export declare const unmarkConfirmChannelTracing: (context: Context) => Context;
export declare const isConfirmChannelTracing: (context: Context) => boolean;
//# sourceMappingURL=utils.d.ts.map