Files
klz-cables.com/.pnpm-store/v10/files/ed/427c446ba1f6832dc48d322b98e5cd791fdd352362cd9fd624f3d8f8d08505c16ead3f7f647b5968c6c326a84432bc95d331dfab48d5fd051a3a3fc0b62ba9
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

1 line
2.2 KiB
Plaintext

{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { InstrumentationConfig } from '@opentelemetry/instrumentation';\nimport type { Span } from '@opentelemetry/api';\n\nexport interface MySQL2ResponseHookInformation {\n queryResults: any;\n}\n\nexport interface MySQL2InstrumentationExecutionResponseHook {\n (span: Span, responseHookInfo: MySQL2ResponseHookInformation): void;\n}\n\nexport interface MySQL2InstrumentationQueryMaskingHook {\n (query: string): string;\n}\n\nexport interface MySQL2InstrumentationConfig extends InstrumentationConfig {\n /**\n * If true, the query will be masked before setting it as a span attribute, using the {@link maskStatementHook}.\n *\n * @default false\n * @see maskStatementHook\n */\n maskStatement?: boolean;\n\n /**\n * Hook that allows masking the query string before setting it as span attribute.\n *\n * @default (query: string) => query.replace(/\\b\\d+\\b/g, '?').replace(/([\"'])(?:(?=(\\\\?))\\2.)*?\\1/g, '?')\n */\n maskStatementHook?: MySQL2InstrumentationQueryMaskingHook;\n\n /**\n * Hook that allows adding custom span attributes based on the data\n * returned MySQL2 queries.\n *\n * @default undefined\n */\n responseHook?: MySQL2InstrumentationExecutionResponseHook;\n\n /**\n * If true, queries are modified to also include a comment with\n * the tracing context, following the {@link https://github.com/open-telemetry/opentelemetry-sqlcommenter sqlcommenter} format\n */\n addSqlCommenterCommentToQueries?: boolean;\n}\n"]}