Files
klz-cables.com/.pnpm-store/v10/files/38/cff11e9219f47a860146af43181dc43b510ae6460e7be6a1511ff80a4a8c01bb2cae9df04a2e65e446bfddd232c618b754bddc009ed3ee4ec22f752ca46b1b
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.3 KiB
Plaintext

/**
* Core attribute extraction and building functions for MCP server instrumentation
*/
import { JsonRpcNotification, JsonRpcRequest, McpSpanType } from './types';
/**
* Extracts additional attributes for specific notification types
* @param method - Notification method name
* @param params - Notification parameters
* @param recordInputs - Whether to include actual content or just metadata
* @returns Method-specific attributes for span instrumentation
*/
export declare function getNotificationAttributes(method: string, params: Record<string, unknown>, recordInputs?: boolean): Record<string, string | number>;
/**
* Build type-specific attributes based on message type
* @param type - Span type (request or notification)
* @param message - JSON-RPC message
* @param params - Optional parameters for attribute extraction
* @param recordInputs - Whether to capture input arguments in spans
* @returns Type-specific attributes for span instrumentation
*/
export declare function buildTypeSpecificAttributes(type: McpSpanType, message: JsonRpcRequest | JsonRpcNotification, params?: Record<string, unknown>, recordInputs?: boolean): Record<string, string | number>;
export { buildTransportAttributes } from './sessionExtraction';
//# sourceMappingURL=attributeExtraction.d.ts.map