19 lines
568 B
TypeScript
19 lines
568 B
TypeScript
/**
|
|
* `@hivegrid/observability` — shared OpenTelemetry helpers.
|
|
*
|
|
* Currently exposes the PII-scrubbing SpanProcessor. The package is
|
|
* intentionally framework-agnostic and does not take a runtime dependency
|
|
* on any `@opentelemetry/*` SDK package — callers wire it into their own
|
|
* NodeSDK / WebTracerProvider span-processor chains.
|
|
*/
|
|
export {
|
|
HEADER_ALLOWLIST,
|
|
PIISpanProcessor,
|
|
isHeaderAttribute,
|
|
redactSpanAttributes,
|
|
scrubDbStatement,
|
|
scrubUrlQuery,
|
|
type DelegateSpanProcessor,
|
|
type PiiScrubableSpan,
|
|
} from "./pii-span-processor.js";
|