@brizz/sdk 0.1.53 → 0.1.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -1
- package/dist/{chunk-TEY6FAVZ.js → chunk-B5IY6O4N.js} +7 -0
- package/dist/{chunk-STTOBCTP.cjs → chunk-CF4CXFQP.cjs} +1 -1
- package/dist/chunk-DC2MFO65.cjs +121 -0
- package/dist/{chunk-KFETJN5M.cjs → chunk-RD4XCYKT.cjs} +7 -0
- package/dist/chunk-TDPQDITP.js +121 -0
- package/dist/{chunk-XV3ZJO5K.js → chunk-WJZSFRB4.js} +1 -1
- package/dist/{google-genai-T7I4FFIP.js → google-genai-3ERJNC7Q.js} +2 -1
- package/dist/google-genai-GVCKSJMR.cjs +11 -0
- package/dist/google-genai.cjs +3 -2
- package/dist/google-genai.js +2 -1
- package/dist/index.cjs +236 -63
- package/dist/index.js +217 -44
- package/dist/{mcp-KH5LOG5H.cjs → mcp-CYQ3TGCK.cjs} +39 -16
- package/dist/{mcp-DBLN5ZBE.js → mcp-LLYYMR5M.js} +29 -6
- package/dist/types/cjs/index.d.ts +3 -3
- package/dist/types/cjs/internal/config.d.ts +2 -1
- package/dist/types/cjs/internal/instrumentation/langchain.d.ts +1 -1
- package/dist/types/cjs/internal/instrumentation/openai.d.ts +5 -0
- package/dist/types/cjs/internal/instrumentation/vercel-ai/interrupt.d.ts +1 -1
- package/dist/types/cjs/internal/log/logging.d.ts +6 -5
- package/dist/types/cjs/internal/log/processors/log-processor.d.ts +4 -4
- package/dist/types/cjs/internal/metric/metrics.d.ts +1 -0
- package/dist/types/cjs/internal/sdk.d.ts +4 -1
- package/dist/types/cjs/internal/trace/exporters/eve-trace-exporter.d.ts +1 -1
- package/dist/types/cjs/internal/trace/exporters/span-exporter.d.ts +1 -1
- package/dist/types/cjs/internal/trace/index.d.ts +1 -0
- package/dist/types/cjs/internal/trace/processors/eve-session-processor.d.ts +1 -1
- package/dist/types/cjs/internal/trace/processors/span-processor.d.ts +1 -1
- package/dist/types/cjs/internal/trace/provider.d.ts +16 -0
- package/dist/types/cjs/internal/trace/tracing.d.ts +3 -2
- package/dist/types/esm/index.d.ts +3 -3
- package/dist/types/esm/internal/config.d.ts +2 -1
- package/dist/types/esm/internal/instrumentation/langchain.d.ts +1 -1
- package/dist/types/esm/internal/instrumentation/openai.d.ts +5 -0
- package/dist/types/esm/internal/instrumentation/vercel-ai/interrupt.d.ts +1 -1
- package/dist/types/esm/internal/log/logging.d.ts +6 -5
- package/dist/types/esm/internal/log/processors/log-processor.d.ts +4 -4
- package/dist/types/esm/internal/metric/metrics.d.ts +1 -0
- package/dist/types/esm/internal/sdk.d.ts +4 -1
- package/dist/types/esm/internal/trace/exporters/eve-trace-exporter.d.ts +1 -1
- package/dist/types/esm/internal/trace/exporters/span-exporter.d.ts +1 -1
- package/dist/types/esm/internal/trace/index.d.ts +1 -0
- package/dist/types/esm/internal/trace/processors/eve-session-processor.d.ts +1 -1
- package/dist/types/esm/internal/trace/processors/span-processor.d.ts +1 -1
- package/dist/types/esm/internal/trace/provider.d.ts +16 -0
- package/dist/types/esm/internal/trace/tracing.d.ts +3 -2
- package/package.json +29 -30
- package/dist/google-genai-LMEZ62FB.cjs +0 -10
|
@@ -8,7 +8,13 @@
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkCF4CXFQPcjs = require('./chunk-CF4CXFQP.cjs');
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
var _chunkDC2MFO65cjs = require('./chunk-DC2MFO65.cjs');
|
|
12
18
|
|
|
13
19
|
|
|
14
20
|
var _chunkWC573FCIcjs = require('./chunk-WC573FCI.cjs');
|
|
@@ -17,11 +23,10 @@ require('./chunk-OBGZSXTJ.cjs');
|
|
|
17
23
|
|
|
18
24
|
// src/internal/instrumentation/mcp/instrumentation.ts
|
|
19
25
|
var _openinferenceinstrumentationmcp = require('@arizeai/openinference-instrumentation-mcp');
|
|
20
|
-
var _api = require('@opentelemetry/api');
|
|
21
26
|
var _instrumentation = require('@opentelemetry/instrumentation');
|
|
22
27
|
|
|
23
28
|
// src/internal/instrumentation/mcp/patches/protocol.ts
|
|
24
|
-
|
|
29
|
+
var _api = require('@opentelemetry/api');
|
|
25
30
|
|
|
26
31
|
// src/internal/instrumentation/mcp/schemas.ts
|
|
27
32
|
|
|
@@ -372,10 +377,27 @@ function wrapRequest(original, tracer) {
|
|
|
372
377
|
}
|
|
373
378
|
return executeAroundSpan(span, request.method, () => {
|
|
374
379
|
const ctx = _api.trace.setSpan(_api.context.active(), span);
|
|
375
|
-
return _api.context.with(ctx, () =>
|
|
380
|
+
return _api.context.with(ctx, () => {
|
|
381
|
+
injectMetaTraceContext(request, ctx);
|
|
382
|
+
return original.apply(this, args);
|
|
383
|
+
});
|
|
376
384
|
});
|
|
377
385
|
};
|
|
378
386
|
}
|
|
387
|
+
function injectMetaTraceContext(request, ctx) {
|
|
388
|
+
if (!_chunkDC2MFO65cjs.isPrivateTracerProvider.call(void 0, )) {
|
|
389
|
+
return;
|
|
390
|
+
}
|
|
391
|
+
try {
|
|
392
|
+
request.params ??= {};
|
|
393
|
+
request.params._meta ??= {};
|
|
394
|
+
if (request.params._meta["traceparent"] === void 0) {
|
|
395
|
+
_chunkDC2MFO65cjs.injectTraceContext.call(void 0, ctx, request.params._meta);
|
|
396
|
+
}
|
|
397
|
+
} catch (error) {
|
|
398
|
+
_chunkWC573FCIcjs.logger.debug(`Brizz MCP: failed to inject trace context into _meta: ${String(error)}`);
|
|
399
|
+
}
|
|
400
|
+
}
|
|
379
401
|
function wrapOnRequest(original, tracer) {
|
|
380
402
|
return function wrappedOnRequest(...args) {
|
|
381
403
|
const request = args[0];
|
|
@@ -387,14 +409,14 @@ function wrapOnRequest(original, tracer) {
|
|
|
387
409
|
return original.apply(this, args);
|
|
388
410
|
}
|
|
389
411
|
const method = request.method;
|
|
390
|
-
if (method === METHOD_TOOLS_CALL &&
|
|
412
|
+
if (method === METHOD_TOOLS_CALL && _chunkCF4CXFQPcjs.isSessionToolCall.call(void 0, request)) {
|
|
391
413
|
return answerSessionToolCall(this, request, tracer, args, original);
|
|
392
414
|
}
|
|
393
415
|
const handler = _nullishCoalesce(handlers.get(method), () => ( this.fallbackRequestHandler));
|
|
394
416
|
if (!handler) {
|
|
395
417
|
return original.apply(this, args);
|
|
396
418
|
}
|
|
397
|
-
const tracking =
|
|
419
|
+
const tracking = _chunkCF4CXFQPcjs.isEnabled.call(void 0, ) && method === METHOD_TOOLS_CALL ? _chunkCF4CXFQPcjs.popTrackingArguments.call(void 0, request) : {};
|
|
398
420
|
const started = safeStartServerSpan(tracer, request, this, tracking);
|
|
399
421
|
if (!started) {
|
|
400
422
|
return original.apply(this, args);
|
|
@@ -404,9 +426,9 @@ function wrapOnRequest(original, tracer) {
|
|
|
404
426
|
if (method === METHOD_TOOLS_LIST) {
|
|
405
427
|
hooks.onResult = (result) => {
|
|
406
428
|
let advertised = result;
|
|
407
|
-
if (
|
|
429
|
+
if (_chunkCF4CXFQPcjs.isEnabled.call(void 0, )) {
|
|
408
430
|
try {
|
|
409
|
-
advertised =
|
|
431
|
+
advertised = _chunkCF4CXFQPcjs.patchListToolsResult.call(void 0, result);
|
|
410
432
|
} catch (error) {
|
|
411
433
|
_chunkWC573FCIcjs.logger.warn(
|
|
412
434
|
`Brizz MCP: failed to patch tools/list schemas: ${String(error)}`
|
|
@@ -417,7 +439,7 @@ function wrapOnRequest(original, tracer) {
|
|
|
417
439
|
try {
|
|
418
440
|
emitSchemaSpansFromListResponse(
|
|
419
441
|
advertised,
|
|
420
|
-
|
|
442
|
+
_chunkCF4CXFQPcjs.resolveTransportSessionId.call(void 0, this),
|
|
421
443
|
tracer
|
|
422
444
|
);
|
|
423
445
|
} catch (error) {
|
|
@@ -430,7 +452,7 @@ function wrapOnRequest(original, tracer) {
|
|
|
430
452
|
}
|
|
431
453
|
if (method !== METHOD_TOOLS_CALL) {
|
|
432
454
|
hooks.onError = () => {
|
|
433
|
-
|
|
455
|
+
_chunkCF4CXFQPcjs.stampAndPropagateSession.call(void 0, span, _chunkCF4CXFQPcjs.resolveSessionId.call(void 0, this, spanCtx), spanCtx);
|
|
434
456
|
};
|
|
435
457
|
}
|
|
436
458
|
const wrappedHandler = (req, extra) => _api.context.with(
|
|
@@ -464,7 +486,7 @@ function answerSessionToolCall(protocol, request, tracer, args, original) {
|
|
|
464
486
|
if (!handlers) {
|
|
465
487
|
return original.apply(protocol, args);
|
|
466
488
|
}
|
|
467
|
-
const { id, result } =
|
|
489
|
+
const { id, result } = _chunkCF4CXFQPcjs.sessionToolResult.call(void 0, );
|
|
468
490
|
const started = safeStartServerSpan(tracer, request, protocol, { sessionId: id });
|
|
469
491
|
const handler = () => started ? _api.context.with(started.spanCtx, () => result) : result;
|
|
470
492
|
const hadEntry = handlers.has(METHOD_TOOLS_CALL);
|
|
@@ -554,8 +576,8 @@ function safeStartServerSpan(tracer, request, protocol, tracking = {}) {
|
|
|
554
576
|
parentCtx
|
|
555
577
|
);
|
|
556
578
|
applyServerRequestAttributes(span, request, protocol);
|
|
557
|
-
const resolved = request.method === METHOD_TOOLS_CALL ? _nullishCoalesce(tracking.sessionId, () => (
|
|
558
|
-
const { context: sessCtx } =
|
|
579
|
+
const resolved = request.method === METHOD_TOOLS_CALL ? _nullishCoalesce(tracking.sessionId, () => ( _chunkCF4CXFQPcjs.resolveSessionId.call(void 0, protocol, parentCtx))) : void 0;
|
|
580
|
+
const { context: sessCtx } = _chunkCF4CXFQPcjs.stampAndPropagateSession.call(void 0,
|
|
559
581
|
span,
|
|
560
582
|
resolved,
|
|
561
583
|
parentCtx,
|
|
@@ -571,7 +593,7 @@ function extractParentContext(request) {
|
|
|
571
593
|
try {
|
|
572
594
|
const meta = _optionalChain([request, 'access', _24 => _24.params, 'optionalAccess', _25 => _25._meta]);
|
|
573
595
|
if (meta && typeof meta === "object") {
|
|
574
|
-
return
|
|
596
|
+
return _chunkDC2MFO65cjs.extractTraceContext.call(void 0, _api.context.active(), meta);
|
|
575
597
|
}
|
|
576
598
|
} catch (error) {
|
|
577
599
|
_chunkWC573FCIcjs.logger.debug(
|
|
@@ -611,7 +633,7 @@ function safeEnd(span) {
|
|
|
611
633
|
|
|
612
634
|
// src/internal/instrumentation/mcp/version.ts
|
|
613
635
|
var INSTRUMENTATION_NAME = "@brizz/sdk/mcp";
|
|
614
|
-
var INSTRUMENTATION_VERSION =
|
|
636
|
+
var INSTRUMENTATION_VERSION = _chunkCF4CXFQPcjs.getSDKVersion.call(void 0, );
|
|
615
637
|
|
|
616
638
|
// src/internal/instrumentation/mcp/instrumentation.ts
|
|
617
639
|
var PROTOCOL_MODULE_NAME = "@modelcontextprotocol/sdk/shared/protocol.js";
|
|
@@ -630,7 +652,8 @@ var MCPInstrumentation = class extends _openinferenceinstrumentationmcp.MCPInstr
|
|
|
630
652
|
|
|
631
653
|
constructor(_config) {
|
|
632
654
|
super({ instrumentationConfig: _optionalChain([_config, 'optionalAccess', _26 => _26.instrumentationConfig]) });
|
|
633
|
-
this.
|
|
655
|
+
this.setTracerProvider(_chunkDC2MFO65cjs.brizzTracerProvider);
|
|
656
|
+
this.brizzTracer = _chunkDC2MFO65cjs.brizzTracerProvider.getTracer(INSTRUMENTATION_NAME, INSTRUMENTATION_VERSION);
|
|
634
657
|
}
|
|
635
658
|
/**
|
|
636
659
|
* Apply the SERVER + CLIENT patch to a loaded `protocol.js` module. Shared
|
|
@@ -8,7 +8,13 @@ import {
|
|
|
8
8
|
resolveTransportSessionId,
|
|
9
9
|
sessionToolResult,
|
|
10
10
|
stampAndPropagateSession
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WJZSFRB4.js";
|
|
12
|
+
import {
|
|
13
|
+
brizzTracerProvider,
|
|
14
|
+
extractTraceContext,
|
|
15
|
+
injectTraceContext,
|
|
16
|
+
isPrivateTracerProvider
|
|
17
|
+
} from "./chunk-TDPQDITP.js";
|
|
12
18
|
import {
|
|
13
19
|
logger
|
|
14
20
|
} from "./chunk-Y4HNUX3Q.js";
|
|
@@ -17,11 +23,10 @@ import "./chunk-3RG5ZIWI.js";
|
|
|
17
23
|
|
|
18
24
|
// src/internal/instrumentation/mcp/instrumentation.ts
|
|
19
25
|
import { MCPInstrumentation as BaseMCPInstrumentation } from "@arizeai/openinference-instrumentation-mcp";
|
|
20
|
-
import { trace as trace2 } from "@opentelemetry/api";
|
|
21
26
|
import { InstrumentationNodeModuleDefinition } from "@opentelemetry/instrumentation";
|
|
22
27
|
|
|
23
28
|
// src/internal/instrumentation/mcp/patches/protocol.ts
|
|
24
|
-
import { context,
|
|
29
|
+
import { context, SpanKind as SpanKind2, trace } from "@opentelemetry/api";
|
|
25
30
|
|
|
26
31
|
// src/internal/instrumentation/mcp/schemas.ts
|
|
27
32
|
import { SpanKind, SpanStatusCode } from "@opentelemetry/api";
|
|
@@ -372,10 +377,27 @@ function wrapRequest(original, tracer) {
|
|
|
372
377
|
}
|
|
373
378
|
return executeAroundSpan(span, request.method, () => {
|
|
374
379
|
const ctx = trace.setSpan(context.active(), span);
|
|
375
|
-
return context.with(ctx, () =>
|
|
380
|
+
return context.with(ctx, () => {
|
|
381
|
+
injectMetaTraceContext(request, ctx);
|
|
382
|
+
return original.apply(this, args);
|
|
383
|
+
});
|
|
376
384
|
});
|
|
377
385
|
};
|
|
378
386
|
}
|
|
387
|
+
function injectMetaTraceContext(request, ctx) {
|
|
388
|
+
if (!isPrivateTracerProvider()) {
|
|
389
|
+
return;
|
|
390
|
+
}
|
|
391
|
+
try {
|
|
392
|
+
request.params ??= {};
|
|
393
|
+
request.params._meta ??= {};
|
|
394
|
+
if (request.params._meta["traceparent"] === void 0) {
|
|
395
|
+
injectTraceContext(ctx, request.params._meta);
|
|
396
|
+
}
|
|
397
|
+
} catch (error) {
|
|
398
|
+
logger.debug(`Brizz MCP: failed to inject trace context into _meta: ${String(error)}`);
|
|
399
|
+
}
|
|
400
|
+
}
|
|
379
401
|
function wrapOnRequest(original, tracer) {
|
|
380
402
|
return function wrappedOnRequest(...args) {
|
|
381
403
|
const request = args[0];
|
|
@@ -571,7 +593,7 @@ function extractParentContext(request) {
|
|
|
571
593
|
try {
|
|
572
594
|
const meta = request.params?._meta;
|
|
573
595
|
if (meta && typeof meta === "object") {
|
|
574
|
-
return
|
|
596
|
+
return extractTraceContext(context.active(), meta);
|
|
575
597
|
}
|
|
576
598
|
} catch (error) {
|
|
577
599
|
logger.debug(
|
|
@@ -630,7 +652,8 @@ var MCPInstrumentation = class extends BaseMCPInstrumentation {
|
|
|
630
652
|
brizzTracer;
|
|
631
653
|
constructor(_config) {
|
|
632
654
|
super({ instrumentationConfig: _config?.instrumentationConfig });
|
|
633
|
-
this.
|
|
655
|
+
this.setTracerProvider(brizzTracerProvider);
|
|
656
|
+
this.brizzTracer = brizzTracerProvider.getTracer(INSTRUMENTATION_NAME, INSTRUMENTATION_VERSION);
|
|
634
657
|
}
|
|
635
658
|
/**
|
|
636
659
|
* Apply the SERVER + CLIENT patch to a loaded `protocol.js` module. Shared
|
|
@@ -2,7 +2,7 @@ import './internal/instrumentation/auto-init.js';
|
|
|
2
2
|
export { Brizz, type IBrizzInitializeOptions } from './internal/sdk.js';
|
|
3
3
|
export { type IInstrumentModules, type IMCPManualModules, } from './internal/instrumentation/index.js';
|
|
4
4
|
export { emitEvent, emitEventWithSessionId } from './internal/log/index.js';
|
|
5
|
-
export { getSpanExporter, getSpanProcessor, withSessionId, callWithSessionId, withProperties, callWithProperties, withMute, callWithMute, setCurrentSpanCustomProperties, setUser, setOrganization, setMessageId, setSessionId, setServiceName, withServiceName, callWithServiceName, withUser, callWithUser, withOrganization, callWithOrganization, withMessageId, callWithMessageId, Session, SessionTitle, startAgent, withAgent, setAgent, startSession, startSessionTitle, getActiveSession, addExternalLink, recordFeedback, recordMetric, } from './internal/trace/index.js';
|
|
5
|
+
export { getSpanExporter, getSpanProcessor, getTracerProvider, withSessionId, callWithSessionId, withProperties, callWithProperties, withMute, callWithMute, setCurrentSpanCustomProperties, setUser, setOrganization, setMessageId, setSessionId, setServiceName, withServiceName, callWithServiceName, withUser, callWithUser, withOrganization, callWithOrganization, withMessageId, callWithMessageId, Session, SessionTitle, startAgent, withAgent, setAgent, startSession, startSessionTitle, getActiveSession, addExternalLink, recordFeedback, recordMetric, } from './internal/trace/index.js';
|
|
6
6
|
export type { IMuteOptions, AgentRef, IAgent, IAgentOptions } from './internal/trace/index.js';
|
|
7
7
|
export { getMetricsExporter, getMetricsReader } from './internal/metric/index.js';
|
|
8
8
|
export type { IMaskingConfig, ISpanMaskingConfig, ILogMaskingConfig, IEventMaskingConfig, IEventMaskingRule, MaskingMode, IAttributesMaskingRule, } from './internal/masking/index.js';
|
|
@@ -10,6 +10,6 @@ export { DEFAULT_PII_PATTERNS } from './internal/masking/patterns.js';
|
|
|
10
10
|
export { maskValue, maskAttributes } from './internal/masking/utils.js';
|
|
11
11
|
export { LogLevel, logger, setLogLevel, getLogLevel } from './internal/logger.js';
|
|
12
12
|
export type { ILogger } from './internal/logger.js';
|
|
13
|
-
export { SeverityNumber } from '@opentelemetry/api
|
|
13
|
+
export { SeverityNumber } from '@opentelemetry/api';
|
|
14
14
|
export type { AttributeValue } from '@opentelemetry/api';
|
|
15
|
-
export type { ReadableSpan } from '@opentelemetry/sdk-trace
|
|
15
|
+
export type { ReadableSpan } from '@opentelemetry/sdk-trace';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AttributeValue } from '@opentelemetry/api';
|
|
2
|
-
import type { ReadableSpan } from '@opentelemetry/sdk-trace
|
|
2
|
+
import type { ReadableSpan } from '@opentelemetry/sdk-trace';
|
|
3
3
|
import type { IBrizzInitializeOptions } from '../index.js';
|
|
4
4
|
import type { LogLevel } from './logger.js';
|
|
5
5
|
import type { IMaskingConfig } from './masking/index.js';
|
|
@@ -14,6 +14,7 @@ export interface IResolvedBrizzConfig extends Omit<IBrizzInitializeOptions, 'mas
|
|
|
14
14
|
masking?: IMaskingConfig;
|
|
15
15
|
resourceAttributes?: Record<string, AttributeValue>;
|
|
16
16
|
beforeSendSpan?: (span: ReadableSpan) => boolean | Promise<boolean>;
|
|
17
|
+
setGlobalTracerProvider: boolean;
|
|
17
18
|
}
|
|
18
19
|
export declare function resolveConfig(options: IBrizzInitializeOptions): IResolvedBrizzConfig;
|
|
19
20
|
export declare function processEnvironmentConfig(options: IBrizzInitializeOptions): IResolvedBrizzConfig;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ReadableSpan } from '@opentelemetry/sdk-trace
|
|
1
|
+
import type { ReadableSpan } from '@opentelemetry/sdk-trace';
|
|
2
2
|
export declare function patchCallbackManagerModule(module: unknown): boolean;
|
|
3
3
|
export declare function patchInstalledCallbackManager(): void;
|
|
4
4
|
export declare function restampLangChainSpan(span: ReadableSpan): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Context } from '@opentelemetry/api';
|
|
2
|
-
import type { Span as SdkSpan, SpanProcessor } from '@opentelemetry/sdk-trace
|
|
2
|
+
import type { Span as SdkSpan, SpanProcessor } from '@opentelemetry/sdk-trace';
|
|
3
3
|
import type { Telemetry } from 'ai';
|
|
4
4
|
export declare function createInterruptIntegration(): Telemetry;
|
|
5
5
|
export declare class InterruptPropagator implements SpanProcessor {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import { SeverityNumber } from '@opentelemetry/api
|
|
1
|
+
import type { AnyValue } from '@opentelemetry/api';
|
|
2
|
+
import { SeverityNumber } from '@opentelemetry/api';
|
|
3
3
|
import { LoggerProvider } from '@opentelemetry/sdk-logs';
|
|
4
4
|
import type { IResolvedBrizzConfig } from '../config.js';
|
|
5
5
|
export declare class LoggingModule {
|
|
@@ -12,10 +12,11 @@ export declare class LoggingModule {
|
|
|
12
12
|
private createLoggerProvider;
|
|
13
13
|
private activeLoggerProvider;
|
|
14
14
|
setup(config: IResolvedBrizzConfig): void;
|
|
15
|
-
emitEvent(name: string, attributes?: Record<string, string | number | boolean>, body?:
|
|
15
|
+
emitEvent(name: string, attributes?: Record<string, string | number | boolean>, body?: AnyValue, severityNumber?: SeverityNumber): void;
|
|
16
16
|
isInitialized(): boolean;
|
|
17
17
|
getLoggerProvider(): LoggerProvider | null;
|
|
18
|
+
forceFlush(): Promise<void>;
|
|
18
19
|
shutdown(): Promise<void>;
|
|
19
20
|
}
|
|
20
|
-
export declare function emitEvent(name: string, attributes?: Record<string, string | number | boolean>, body?:
|
|
21
|
-
export declare function emitEventWithSessionId(sessionId: string, name: string, attributes?: Record<string, string | number | boolean>, body?:
|
|
21
|
+
export declare function emitEvent(name: string, attributes?: Record<string, string | number | boolean>, body?: AnyValue, severityNumber?: SeverityNumber): void;
|
|
22
|
+
export declare function emitEventWithSessionId(sessionId: string, name: string, attributes?: Record<string, string | number | boolean>, body?: AnyValue, severityNumber?: SeverityNumber): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { LogRecordExporter,
|
|
1
|
+
import type { LogRecordExporter, ReadWriteLogRecord } from '@opentelemetry/sdk-logs';
|
|
2
2
|
import { BatchLogRecordProcessor, SimpleLogRecordProcessor } from '@opentelemetry/sdk-logs';
|
|
3
3
|
import type { IResolvedBrizzConfig } from '../../config.js';
|
|
4
4
|
import type { IAttributesMaskingRule, ILogMaskingConfig } from '../../masking/types.js';
|
|
@@ -6,11 +6,11 @@ export declare const DEFAULT_LOG_MASKING_RULES: IAttributesMaskingRule[];
|
|
|
6
6
|
export declare class BrizzSimpleLogRecordProcessor extends SimpleLogRecordProcessor {
|
|
7
7
|
readonly config: IResolvedBrizzConfig;
|
|
8
8
|
constructor(exporter: LogRecordExporter, config: IResolvedBrizzConfig);
|
|
9
|
-
onEmit(logRecord:
|
|
9
|
+
onEmit(logRecord: ReadWriteLogRecord): void;
|
|
10
10
|
}
|
|
11
11
|
export declare class BrizzBatchLogRecordProcessor extends BatchLogRecordProcessor {
|
|
12
12
|
readonly config: IResolvedBrizzConfig;
|
|
13
13
|
constructor(exporter: LogRecordExporter, config: IResolvedBrizzConfig);
|
|
14
|
-
onEmit(logRecord:
|
|
14
|
+
onEmit(logRecord: ReadWriteLogRecord): void;
|
|
15
15
|
}
|
|
16
|
-
export declare function maskLog(logRecord:
|
|
16
|
+
export declare function maskLog(logRecord: ReadWriteLogRecord, config: ILogMaskingConfig): ReadWriteLogRecord;
|
|
@@ -11,6 +11,7 @@ export declare class MetricsModule {
|
|
|
11
11
|
setup(config: IResolvedBrizzConfig): void;
|
|
12
12
|
getMetricsExporter(): OTLPMetricExporter;
|
|
13
13
|
getMetricsReader(): MetricReader;
|
|
14
|
+
forceFlush(): Promise<void>;
|
|
14
15
|
shutdown(): void;
|
|
15
16
|
}
|
|
16
17
|
export declare function getMetricsExporter(): OTLPMetricExporter;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AttributeValue } from '@opentelemetry/api';
|
|
2
2
|
import type { LogRecordExporter } from '@opentelemetry/sdk-logs';
|
|
3
3
|
import type { MetricReader } from '@opentelemetry/sdk-metrics';
|
|
4
|
-
import type { ReadableSpan, SpanExporter } from '@opentelemetry/sdk-trace
|
|
4
|
+
import type { ReadableSpan, SpanExporter } from '@opentelemetry/sdk-trace';
|
|
5
5
|
import { type IInstrumentModules } from './instrumentation/index.js';
|
|
6
6
|
import { type IMCPSessionTrackingConfig } from './instrumentation/mcp/client-session.js';
|
|
7
7
|
import type { LogLevel } from './logger.js';
|
|
@@ -20,6 +20,7 @@ export interface IBrizzInitializeOptions {
|
|
|
20
20
|
logLevel?: LogLevel | string;
|
|
21
21
|
instrumentModules?: IInstrumentModules;
|
|
22
22
|
disableNodeSdk?: boolean;
|
|
23
|
+
setGlobalTracerProvider?: boolean;
|
|
23
24
|
customSpanExporter?: SpanExporter;
|
|
24
25
|
customLogExporter?: LogRecordExporter;
|
|
25
26
|
customMetricReader?: MetricReader;
|
|
@@ -35,10 +36,12 @@ export declare class _Brizz {
|
|
|
35
36
|
private _meterProvider;
|
|
36
37
|
private setupInstrumentation;
|
|
37
38
|
private createAndStartProviders;
|
|
39
|
+
private registerGlobalTracerProvider;
|
|
38
40
|
private initializeModules;
|
|
39
41
|
private detectModuleSystem;
|
|
40
42
|
private shutdownModules;
|
|
41
43
|
initialize(options: IBrizzInitializeOptions): void;
|
|
44
|
+
flush(timeoutMillis?: number): Promise<boolean>;
|
|
42
45
|
shutdown(): Promise<void>;
|
|
43
46
|
}
|
|
44
47
|
export declare const Brizz: _Brizz;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ExportResult } from '@opentelemetry/core';
|
|
2
|
-
import type { ReadableSpan, SpanExporter } from '@opentelemetry/sdk-trace
|
|
2
|
+
import type { ReadableSpan, SpanExporter } from '@opentelemetry/sdk-trace';
|
|
3
3
|
import type { IResolvedBrizzConfig } from '../../config.js';
|
|
4
4
|
export type SpanExporterFactory = (serviceName: string) => SpanExporter;
|
|
5
5
|
export declare class BrizzSpanExporter implements SpanExporter {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { TracingModule, getSpanExporter, getSpanProcessor } from './tracing.js';
|
|
2
|
+
export { getTracerProvider } from './provider.js';
|
|
2
3
|
export { BrizzBatchSpanProcessor, BrizzSimpleSpanProcessor } from './processors/span-processor.js';
|
|
3
4
|
export { withSessionId, callWithSessionId, withProperties, callWithProperties, withMute, callWithMute, setCurrentSpanCustomProperties, setUser, setOrganization, setMessageId, setSessionId, setServiceName, withServiceName, callWithServiceName, withUser, callWithUser, withOrganization, callWithOrganization, withMessageId, callWithMessageId, Session, SessionTitle, startSession, startSessionTitle, getActiveSession, addExternalLink, recordFeedback, recordMetric, } from './session.js';
|
|
4
5
|
export type { IMuteOptions } from './session.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { SpanProcessor } from '@opentelemetry/sdk-trace
|
|
1
|
+
import type { SpanProcessor } from '@opentelemetry/sdk-trace';
|
|
2
2
|
export declare function createEveSessionProcessor(): SpanProcessor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Context } from '@opentelemetry/api';
|
|
2
|
-
import { BatchSpanProcessor, type ReadableSpan, SimpleSpanProcessor, type Span, type SpanExporter } from '@opentelemetry/sdk-trace
|
|
2
|
+
import { BatchSpanProcessor, type ReadableSpan, SimpleSpanProcessor, type Span, type SpanExporter } from '@opentelemetry/sdk-trace';
|
|
3
3
|
import type { IResolvedBrizzConfig } from '../../config.js';
|
|
4
4
|
import type { IAttributesMaskingRule, ISpanMaskingConfig } from '../../masking/types.js';
|
|
5
5
|
export declare const DEFAULT_MASKING_RULES: IAttributesMaskingRule[];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Context, Tracer, TracerOptions, TracerProvider } from '@opentelemetry/api';
|
|
2
|
+
export declare class BrizzTracerProvider implements TracerProvider {
|
|
3
|
+
private readonly tracers;
|
|
4
|
+
getTracer(name: string, version?: string, options?: TracerOptions): Tracer;
|
|
5
|
+
}
|
|
6
|
+
export declare const brizzTracerProvider: BrizzTracerProvider;
|
|
7
|
+
export declare function getTracerProvider(): TracerProvider;
|
|
8
|
+
export declare function bindToBrizz<T extends {
|
|
9
|
+
setTracerProvider(provider: TracerProvider): void;
|
|
10
|
+
}>(instrumentation: T): T;
|
|
11
|
+
export declare function setPrivateTracerProvider(provider: TracerProvider | null): void;
|
|
12
|
+
export declare function isPrivateTracerProvider(): boolean;
|
|
13
|
+
export declare function ensureContextManager(): 'existing' | 'installed' | 'failed';
|
|
14
|
+
export declare function registerTracerProvider(provider: TracerProvider): void;
|
|
15
|
+
export declare function injectTraceContext(ctx: Context, carrier: Record<string, unknown>): void;
|
|
16
|
+
export declare function extractTraceContext(ctx: Context, carrier: Record<string, unknown>): Context;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { SpanExporter } from '@opentelemetry/sdk-trace
|
|
2
|
-
import type { SpanProcessor } from '@opentelemetry/sdk-trace
|
|
1
|
+
import type { SpanExporter } from '@opentelemetry/sdk-trace';
|
|
2
|
+
import type { SpanProcessor } from '@opentelemetry/sdk-trace';
|
|
3
3
|
import type { IResolvedBrizzConfig } from '../config.js';
|
|
4
4
|
export declare class TracingModule {
|
|
5
5
|
private static instance;
|
|
@@ -11,6 +11,7 @@ export declare class TracingModule {
|
|
|
11
11
|
setup(config: IResolvedBrizzConfig): void;
|
|
12
12
|
getSpanExporter(): SpanExporter;
|
|
13
13
|
getSpanProcessor(): SpanProcessor;
|
|
14
|
+
forceFlush(): Promise<void>;
|
|
14
15
|
shutdown(): Promise<void>;
|
|
15
16
|
}
|
|
16
17
|
export declare function getSpanExporter(): SpanExporter;
|
|
@@ -2,7 +2,7 @@ import './internal/instrumentation/auto-init.js';
|
|
|
2
2
|
export { Brizz, type IBrizzInitializeOptions } from './internal/sdk.js';
|
|
3
3
|
export { type IInstrumentModules, type IMCPManualModules, } from './internal/instrumentation/index.js';
|
|
4
4
|
export { emitEvent, emitEventWithSessionId } from './internal/log/index.js';
|
|
5
|
-
export { getSpanExporter, getSpanProcessor, withSessionId, callWithSessionId, withProperties, callWithProperties, withMute, callWithMute, setCurrentSpanCustomProperties, setUser, setOrganization, setMessageId, setSessionId, setServiceName, withServiceName, callWithServiceName, withUser, callWithUser, withOrganization, callWithOrganization, withMessageId, callWithMessageId, Session, SessionTitle, startAgent, withAgent, setAgent, startSession, startSessionTitle, getActiveSession, addExternalLink, recordFeedback, recordMetric, } from './internal/trace/index.js';
|
|
5
|
+
export { getSpanExporter, getSpanProcessor, getTracerProvider, withSessionId, callWithSessionId, withProperties, callWithProperties, withMute, callWithMute, setCurrentSpanCustomProperties, setUser, setOrganization, setMessageId, setSessionId, setServiceName, withServiceName, callWithServiceName, withUser, callWithUser, withOrganization, callWithOrganization, withMessageId, callWithMessageId, Session, SessionTitle, startAgent, withAgent, setAgent, startSession, startSessionTitle, getActiveSession, addExternalLink, recordFeedback, recordMetric, } from './internal/trace/index.js';
|
|
6
6
|
export type { IMuteOptions, AgentRef, IAgent, IAgentOptions } from './internal/trace/index.js';
|
|
7
7
|
export { getMetricsExporter, getMetricsReader } from './internal/metric/index.js';
|
|
8
8
|
export type { IMaskingConfig, ISpanMaskingConfig, ILogMaskingConfig, IEventMaskingConfig, IEventMaskingRule, MaskingMode, IAttributesMaskingRule, } from './internal/masking/index.js';
|
|
@@ -10,6 +10,6 @@ export { DEFAULT_PII_PATTERNS } from './internal/masking/patterns.js';
|
|
|
10
10
|
export { maskValue, maskAttributes } from './internal/masking/utils.js';
|
|
11
11
|
export { LogLevel, logger, setLogLevel, getLogLevel } from './internal/logger.js';
|
|
12
12
|
export type { ILogger } from './internal/logger.js';
|
|
13
|
-
export { SeverityNumber } from '@opentelemetry/api
|
|
13
|
+
export { SeverityNumber } from '@opentelemetry/api';
|
|
14
14
|
export type { AttributeValue } from '@opentelemetry/api';
|
|
15
|
-
export type { ReadableSpan } from '@opentelemetry/sdk-trace
|
|
15
|
+
export type { ReadableSpan } from '@opentelemetry/sdk-trace';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AttributeValue } from '@opentelemetry/api';
|
|
2
|
-
import type { ReadableSpan } from '@opentelemetry/sdk-trace
|
|
2
|
+
import type { ReadableSpan } from '@opentelemetry/sdk-trace';
|
|
3
3
|
import type { IBrizzInitializeOptions } from '../index.js';
|
|
4
4
|
import type { LogLevel } from './logger.js';
|
|
5
5
|
import type { IMaskingConfig } from './masking/index.js';
|
|
@@ -14,6 +14,7 @@ export interface IResolvedBrizzConfig extends Omit<IBrizzInitializeOptions, 'mas
|
|
|
14
14
|
masking?: IMaskingConfig;
|
|
15
15
|
resourceAttributes?: Record<string, AttributeValue>;
|
|
16
16
|
beforeSendSpan?: (span: ReadableSpan) => boolean | Promise<boolean>;
|
|
17
|
+
setGlobalTracerProvider: boolean;
|
|
17
18
|
}
|
|
18
19
|
export declare function resolveConfig(options: IBrizzInitializeOptions): IResolvedBrizzConfig;
|
|
19
20
|
export declare function processEnvironmentConfig(options: IBrizzInitializeOptions): IResolvedBrizzConfig;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ReadableSpan } from '@opentelemetry/sdk-trace
|
|
1
|
+
import type { ReadableSpan } from '@opentelemetry/sdk-trace';
|
|
2
2
|
export declare function patchCallbackManagerModule(module: unknown): boolean;
|
|
3
3
|
export declare function patchInstalledCallbackManager(): void;
|
|
4
4
|
export declare function restampLangChainSpan(span: ReadableSpan): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Context } from '@opentelemetry/api';
|
|
2
|
-
import type { Span as SdkSpan, SpanProcessor } from '@opentelemetry/sdk-trace
|
|
2
|
+
import type { Span as SdkSpan, SpanProcessor } from '@opentelemetry/sdk-trace';
|
|
3
3
|
import type { Telemetry } from 'ai';
|
|
4
4
|
export declare function createInterruptIntegration(): Telemetry;
|
|
5
5
|
export declare class InterruptPropagator implements SpanProcessor {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import { SeverityNumber } from '@opentelemetry/api
|
|
1
|
+
import type { AnyValue } from '@opentelemetry/api';
|
|
2
|
+
import { SeverityNumber } from '@opentelemetry/api';
|
|
3
3
|
import { LoggerProvider } from '@opentelemetry/sdk-logs';
|
|
4
4
|
import type { IResolvedBrizzConfig } from '../config.js';
|
|
5
5
|
export declare class LoggingModule {
|
|
@@ -12,10 +12,11 @@ export declare class LoggingModule {
|
|
|
12
12
|
private createLoggerProvider;
|
|
13
13
|
private activeLoggerProvider;
|
|
14
14
|
setup(config: IResolvedBrizzConfig): void;
|
|
15
|
-
emitEvent(name: string, attributes?: Record<string, string | number | boolean>, body?:
|
|
15
|
+
emitEvent(name: string, attributes?: Record<string, string | number | boolean>, body?: AnyValue, severityNumber?: SeverityNumber): void;
|
|
16
16
|
isInitialized(): boolean;
|
|
17
17
|
getLoggerProvider(): LoggerProvider | null;
|
|
18
|
+
forceFlush(): Promise<void>;
|
|
18
19
|
shutdown(): Promise<void>;
|
|
19
20
|
}
|
|
20
|
-
export declare function emitEvent(name: string, attributes?: Record<string, string | number | boolean>, body?:
|
|
21
|
-
export declare function emitEventWithSessionId(sessionId: string, name: string, attributes?: Record<string, string | number | boolean>, body?:
|
|
21
|
+
export declare function emitEvent(name: string, attributes?: Record<string, string | number | boolean>, body?: AnyValue, severityNumber?: SeverityNumber): void;
|
|
22
|
+
export declare function emitEventWithSessionId(sessionId: string, name: string, attributes?: Record<string, string | number | boolean>, body?: AnyValue, severityNumber?: SeverityNumber): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { LogRecordExporter,
|
|
1
|
+
import type { LogRecordExporter, ReadWriteLogRecord } from '@opentelemetry/sdk-logs';
|
|
2
2
|
import { BatchLogRecordProcessor, SimpleLogRecordProcessor } from '@opentelemetry/sdk-logs';
|
|
3
3
|
import type { IResolvedBrizzConfig } from '../../config.js';
|
|
4
4
|
import type { IAttributesMaskingRule, ILogMaskingConfig } from '../../masking/types.js';
|
|
@@ -6,11 +6,11 @@ export declare const DEFAULT_LOG_MASKING_RULES: IAttributesMaskingRule[];
|
|
|
6
6
|
export declare class BrizzSimpleLogRecordProcessor extends SimpleLogRecordProcessor {
|
|
7
7
|
readonly config: IResolvedBrizzConfig;
|
|
8
8
|
constructor(exporter: LogRecordExporter, config: IResolvedBrizzConfig);
|
|
9
|
-
onEmit(logRecord:
|
|
9
|
+
onEmit(logRecord: ReadWriteLogRecord): void;
|
|
10
10
|
}
|
|
11
11
|
export declare class BrizzBatchLogRecordProcessor extends BatchLogRecordProcessor {
|
|
12
12
|
readonly config: IResolvedBrizzConfig;
|
|
13
13
|
constructor(exporter: LogRecordExporter, config: IResolvedBrizzConfig);
|
|
14
|
-
onEmit(logRecord:
|
|
14
|
+
onEmit(logRecord: ReadWriteLogRecord): void;
|
|
15
15
|
}
|
|
16
|
-
export declare function maskLog(logRecord:
|
|
16
|
+
export declare function maskLog(logRecord: ReadWriteLogRecord, config: ILogMaskingConfig): ReadWriteLogRecord;
|
|
@@ -11,6 +11,7 @@ export declare class MetricsModule {
|
|
|
11
11
|
setup(config: IResolvedBrizzConfig): void;
|
|
12
12
|
getMetricsExporter(): OTLPMetricExporter;
|
|
13
13
|
getMetricsReader(): MetricReader;
|
|
14
|
+
forceFlush(): Promise<void>;
|
|
14
15
|
shutdown(): void;
|
|
15
16
|
}
|
|
16
17
|
export declare function getMetricsExporter(): OTLPMetricExporter;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AttributeValue } from '@opentelemetry/api';
|
|
2
2
|
import type { LogRecordExporter } from '@opentelemetry/sdk-logs';
|
|
3
3
|
import type { MetricReader } from '@opentelemetry/sdk-metrics';
|
|
4
|
-
import type { ReadableSpan, SpanExporter } from '@opentelemetry/sdk-trace
|
|
4
|
+
import type { ReadableSpan, SpanExporter } from '@opentelemetry/sdk-trace';
|
|
5
5
|
import { type IInstrumentModules } from './instrumentation/index.js';
|
|
6
6
|
import { type IMCPSessionTrackingConfig } from './instrumentation/mcp/client-session.js';
|
|
7
7
|
import type { LogLevel } from './logger.js';
|
|
@@ -20,6 +20,7 @@ export interface IBrizzInitializeOptions {
|
|
|
20
20
|
logLevel?: LogLevel | string;
|
|
21
21
|
instrumentModules?: IInstrumentModules;
|
|
22
22
|
disableNodeSdk?: boolean;
|
|
23
|
+
setGlobalTracerProvider?: boolean;
|
|
23
24
|
customSpanExporter?: SpanExporter;
|
|
24
25
|
customLogExporter?: LogRecordExporter;
|
|
25
26
|
customMetricReader?: MetricReader;
|
|
@@ -35,10 +36,12 @@ export declare class _Brizz {
|
|
|
35
36
|
private _meterProvider;
|
|
36
37
|
private setupInstrumentation;
|
|
37
38
|
private createAndStartProviders;
|
|
39
|
+
private registerGlobalTracerProvider;
|
|
38
40
|
private initializeModules;
|
|
39
41
|
private detectModuleSystem;
|
|
40
42
|
private shutdownModules;
|
|
41
43
|
initialize(options: IBrizzInitializeOptions): void;
|
|
44
|
+
flush(timeoutMillis?: number): Promise<boolean>;
|
|
42
45
|
shutdown(): Promise<void>;
|
|
43
46
|
}
|
|
44
47
|
export declare const Brizz: _Brizz;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ExportResult } from '@opentelemetry/core';
|
|
2
|
-
import type { ReadableSpan, SpanExporter } from '@opentelemetry/sdk-trace
|
|
2
|
+
import type { ReadableSpan, SpanExporter } from '@opentelemetry/sdk-trace';
|
|
3
3
|
import type { IResolvedBrizzConfig } from '../../config.js';
|
|
4
4
|
export type SpanExporterFactory = (serviceName: string) => SpanExporter;
|
|
5
5
|
export declare class BrizzSpanExporter implements SpanExporter {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { TracingModule, getSpanExporter, getSpanProcessor } from './tracing.js';
|
|
2
|
+
export { getTracerProvider } from './provider.js';
|
|
2
3
|
export { BrizzBatchSpanProcessor, BrizzSimpleSpanProcessor } from './processors/span-processor.js';
|
|
3
4
|
export { withSessionId, callWithSessionId, withProperties, callWithProperties, withMute, callWithMute, setCurrentSpanCustomProperties, setUser, setOrganization, setMessageId, setSessionId, setServiceName, withServiceName, callWithServiceName, withUser, callWithUser, withOrganization, callWithOrganization, withMessageId, callWithMessageId, Session, SessionTitle, startSession, startSessionTitle, getActiveSession, addExternalLink, recordFeedback, recordMetric, } from './session.js';
|
|
4
5
|
export type { IMuteOptions } from './session.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { SpanProcessor } from '@opentelemetry/sdk-trace
|
|
1
|
+
import type { SpanProcessor } from '@opentelemetry/sdk-trace';
|
|
2
2
|
export declare function createEveSessionProcessor(): SpanProcessor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Context } from '@opentelemetry/api';
|
|
2
|
-
import { BatchSpanProcessor, type ReadableSpan, SimpleSpanProcessor, type Span, type SpanExporter } from '@opentelemetry/sdk-trace
|
|
2
|
+
import { BatchSpanProcessor, type ReadableSpan, SimpleSpanProcessor, type Span, type SpanExporter } from '@opentelemetry/sdk-trace';
|
|
3
3
|
import type { IResolvedBrizzConfig } from '../../config.js';
|
|
4
4
|
import type { IAttributesMaskingRule, ISpanMaskingConfig } from '../../masking/types.js';
|
|
5
5
|
export declare const DEFAULT_MASKING_RULES: IAttributesMaskingRule[];
|