@mastra/observability 0.0.0-span-scorring-test-20251124132129 → 0.0.0-testing-cloud-studios-20260114234039

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 CHANGED
@@ -1,99 +1,54 @@
1
1
  # Mastra Observability
2
2
 
3
- A comprehensive observability system for AI operations in Mastra, providing type-safe span tracking, event-driven exports, and flexible tracing configuration.
3
+ Tracing and monitoring for AI operations in Mastra.
4
4
 
5
- ## Overview
5
+ ## Installation
6
6
 
7
- The Mastra Observability system enables detailed observability for AI-driven applications by tracking operations through spans that capture metadata, timing, and context. It's designed to work seamlessly with Mastra's architecture while providing flexible configuration and export options.
8
-
9
- ## Key Features
10
-
11
- - **Type-Safe Spans**: Strongly typed metadata based on span type prevents runtime errors
12
- - **Event-Driven Architecture**: Real-time tracing events for immediate observability
13
- - **OpenTelemetry Compatible**: Uses standard trace and span ID formats for integration
14
- - **Flexible Sampling**: Multiple sampling strategies with custom sampler support
15
- - **Pluggable Processors**: Modify or filter span fields before export
16
- - **Pluggable Exporters**: Multiple export formats and destinations
17
- - **Automatic Lifecycle Management**: Spans automatically emit events without manual intervention
18
-
19
- ## Quick Start
20
-
21
- ### Manual Tracing
22
-
23
- ```typescript
24
- import { DefaultObservabilityInstance, SpanType } from '@mastra/observability';
25
-
26
- // Create observability instance
27
- const observability = new DefaultObservabilityInstance({
28
- name: 'my-app',
29
- serviceName: 'my-app',
30
- });
31
-
32
- // Start an agent span
33
- const agentSpan = observability.startSpan({
34
- type: SpanType.AGENT_RUN,
35
- name: 'customer-support-agent',
36
- attributes: {
37
- agentId: 'agent-123',
38
- instructions: 'Help with customer support',
39
- maxSteps: 10,
40
- },
41
- });
42
-
43
- // Create child spans for nested operations
44
- const llmSpan = agentSpan.createChildSpan({
45
- type: SpanType.MODEL_GENERATION,
46
- name: 'gpt-4-response',
47
- attributes: {
48
- model: 'gpt-4',
49
- provider: 'openai',
50
- streaming: false,
51
- },
52
- });
53
-
54
- // End spans with results
55
- llmSpan.end({
56
- output: 'Generated response',
57
- attributes: { usage: { totalTokens: 180 } },
58
- });
59
- agentSpan.end();
7
+ ```bash
8
+ npm install @mastra/observability
60
9
  ```
61
10
 
62
- ### Span Types
63
-
64
- - **`WORKFLOW_RUN`**: Root span for entire workflow execution
65
- - **`WORKFLOW_STEP`**: Individual step execution within a workflow
66
- - **`AGENT_RUN`**: Agent processing (supports tools, memory, multi-step)
67
- - **`MODEL_GENERATION`**: Individual model API calls with token usage
68
- - **`TOOL_CALL`**: Function/tool execution
69
- - **`MCP_TOOL_CALL`**: Model Context Protocol tool execution
70
- - **`PROCESSOR_RUN`**: Input/output processor execution
71
- - **`GENERIC`**: Custom spans for other operations
72
-
73
- ### Basic Configuration
74
-
75
- Enable observability in your Mastra instance:
11
+ ## Quick Start
76
12
 
77
13
  ```typescript
78
14
  import { Mastra } from '@mastra/core';
79
- import { Observability } from '@mastra/observability';
15
+ import { Observability, DefaultExporter, CloudExporter, SensitiveDataFilter } from '@mastra/observability';
80
16
 
81
17
  export const mastra = new Mastra({
82
- // ... other config
83
18
  observability: new Observability({
84
- default: { enabled: true },
19
+ configs: {
20
+ default: {
21
+ serviceName: 'my-app',
22
+ exporters: [
23
+ new DefaultExporter(), // Persists traces for Mastra Studio
24
+ new CloudExporter(), // Sends to Mastra Cloud
25
+ ],
26
+ spanOutputProcessors: [new SensitiveDataFilter()],
27
+ },
28
+ },
85
29
  }),
86
30
  });
87
31
  ```
88
32
 
89
- This enables the `DefaultExporter` and `CloudExporter`, with the `SensitiveDataFilter` span output processor, and `always` sampling.
33
+ ## Features
34
+
35
+ - **Auto-instrumentation** - Traces agent runs, LLM calls, tool executions, and workflows
36
+ - **Pluggable Exporters** - Exporters for Studio and Cloud, plus integrations for Arize, Braintrust, Langfuse, LangSmith, and OpenTelemetry
37
+ - **Sampling Strategies** - Always, ratio-based, or custom sampling
38
+ - **Span Processors** - Transform or filter span data before export
39
+ - **OpenTelemetry Compatible** - Standard trace/span ID formats for integration
90
40
 
91
- ## Performance Considerations
41
+ ## Span Types
92
42
 
93
- ### Current Implementation
43
+ - `WORKFLOW_RUN` - Workflow execution
44
+ - `WORKFLOW_STEP` - Individual workflow step
45
+ - `AGENT_RUN` - Agent processing
46
+ - `MODEL_GENERATION` - LLM API calls
47
+ - `TOOL_CALL` - Tool execution
48
+ - `MCP_TOOL_CALL` - MCP tool execution
49
+ - `PROCESSOR_RUN` - Processor execution
50
+ - `GENERIC` - Custom operations
94
51
 
95
- The current implementation prioritizes correctness and ease of use:
52
+ ## Documentation
96
53
 
97
- - **Automatic Lifecycle Management**: All spans automatically emit events through method wrapping
98
- - **Real-time Export**: Events are exported immediately when they occur
99
- - **Memory Overhead**: Each span maintains references to tracing instance
54
+ For configuration options, exporters, sampling strategies, and more, see the [full documentation](https://mastra.ai/docs/v1/observability/overview).
package/dist/config.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * including tracing configs, sampling strategies, and registry setup.
6
6
  */
7
7
  import type { RequestContext } from '@mastra/core/di';
8
- import type { ObservabilityInstance, ObservabilityExporter, SpanOutputProcessor, ConfigSelector } from '@mastra/core/observability';
8
+ import type { ObservabilityInstance, ObservabilityExporter, ObservabilityBridge, SpanOutputProcessor, ConfigSelector, SerializationOptions } from '@mastra/core/observability';
9
9
  import { z } from 'zod';
10
10
  /**
11
11
  * Sampling strategy types
@@ -49,6 +49,8 @@ export interface ObservabilityInstanceConfig {
49
49
  sampling?: SamplingStrategy;
50
50
  /** Custom exporters */
51
51
  exporters?: ObservabilityExporter[];
52
+ /** Observability bridge (e.g., OpenTelemetry bridge for context extraction) */
53
+ bridge?: ObservabilityBridge;
52
54
  /** Custom span output processors */
53
55
  spanOutputProcessors?: SpanOutputProcessor[];
54
56
  /** Set to `true` if you want to see spans internal to the operation of mastra */
@@ -59,12 +61,21 @@ export interface ObservabilityInstanceConfig {
59
61
  * Supports dot notation for nested values.
60
62
  */
61
63
  requestContextKeys?: string[];
64
+ /**
65
+ * Options for controlling serialization of span data (input/output/attributes).
66
+ * Use these to customize truncation limits for large payloads.
67
+ */
68
+ serializationOptions?: SerializationOptions;
62
69
  }
63
70
  /**
64
71
  * Complete Observability registry configuration
65
72
  */
66
73
  export interface ObservabilityRegistryConfig {
67
- /** Enables default exporters, with sampling: always, and sensitive data filtering */
74
+ /**
75
+ * Enables default exporters, with sampling: always, and sensitive data filtering
76
+ * @deprecated Use explicit `configs` with DefaultExporter, CloudExporter, and SensitiveDataFilter instead.
77
+ * This option will be removed in a future version.
78
+ */
68
79
  default?: {
69
80
  enabled?: boolean;
70
81
  };
@@ -107,12 +118,31 @@ export declare const samplingStrategySchema: z.ZodDiscriminatedUnion<"type", [z.
107
118
  type: SamplingStrategyType.CUSTOM;
108
119
  sampler: (args_0: any, ...args: unknown[]) => boolean;
109
120
  }>]>;
121
+ /**
122
+ * Zod schema for SerializationOptions
123
+ */
124
+ export declare const serializationOptionsSchema: z.ZodOptional<z.ZodObject<{
125
+ maxStringLength: z.ZodOptional<z.ZodNumber>;
126
+ maxDepth: z.ZodOptional<z.ZodNumber>;
127
+ maxArrayLength: z.ZodOptional<z.ZodNumber>;
128
+ maxObjectKeys: z.ZodOptional<z.ZodNumber>;
129
+ }, "strip", z.ZodTypeAny, {
130
+ maxStringLength?: number | undefined;
131
+ maxDepth?: number | undefined;
132
+ maxArrayLength?: number | undefined;
133
+ maxObjectKeys?: number | undefined;
134
+ }, {
135
+ maxStringLength?: number | undefined;
136
+ maxDepth?: number | undefined;
137
+ maxArrayLength?: number | undefined;
138
+ maxObjectKeys?: number | undefined;
139
+ }>>;
110
140
  /**
111
141
  * Zod schema for ObservabilityInstanceConfig
112
- * Note: exporters, spanOutputProcessors, and configSelector are validated as any
142
+ * Note: exporters, spanOutputProcessors, bridge, and configSelector are validated as any
113
143
  * since they're complex runtime objects
114
144
  */
115
- export declare const observabilityInstanceConfigSchema: z.ZodObject<{
145
+ export declare const observabilityInstanceConfigSchema: z.ZodEffects<z.ZodObject<{
116
146
  name: z.ZodString;
117
147
  serviceName: z.ZodString;
118
148
  sampling: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -147,9 +177,26 @@ export declare const observabilityInstanceConfigSchema: z.ZodObject<{
147
177
  sampler: (args_0: any, ...args: unknown[]) => boolean;
148
178
  }>]>>;
149
179
  exporters: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
180
+ bridge: z.ZodOptional<z.ZodAny>;
150
181
  spanOutputProcessors: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
151
182
  includeInternalSpans: z.ZodOptional<z.ZodBoolean>;
152
183
  requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
184
+ serializationOptions: z.ZodOptional<z.ZodObject<{
185
+ maxStringLength: z.ZodOptional<z.ZodNumber>;
186
+ maxDepth: z.ZodOptional<z.ZodNumber>;
187
+ maxArrayLength: z.ZodOptional<z.ZodNumber>;
188
+ maxObjectKeys: z.ZodOptional<z.ZodNumber>;
189
+ }, "strip", z.ZodTypeAny, {
190
+ maxStringLength?: number | undefined;
191
+ maxDepth?: number | undefined;
192
+ maxArrayLength?: number | undefined;
193
+ maxObjectKeys?: number | undefined;
194
+ }, {
195
+ maxStringLength?: number | undefined;
196
+ maxDepth?: number | undefined;
197
+ maxArrayLength?: number | undefined;
198
+ maxObjectKeys?: number | undefined;
199
+ }>>;
153
200
  }, "strip", z.ZodTypeAny, {
154
201
  name: string;
155
202
  serviceName: string;
@@ -165,9 +212,66 @@ export declare const observabilityInstanceConfigSchema: z.ZodObject<{
165
212
  sampler: (args_0: any, ...args: unknown[]) => boolean;
166
213
  } | undefined;
167
214
  exporters?: any[] | undefined;
215
+ bridge?: any;
216
+ spanOutputProcessors?: any[] | undefined;
217
+ includeInternalSpans?: boolean | undefined;
218
+ requestContextKeys?: string[] | undefined;
219
+ serializationOptions?: {
220
+ maxStringLength?: number | undefined;
221
+ maxDepth?: number | undefined;
222
+ maxArrayLength?: number | undefined;
223
+ maxObjectKeys?: number | undefined;
224
+ } | undefined;
225
+ }, {
226
+ name: string;
227
+ serviceName: string;
228
+ sampling?: {
229
+ type: SamplingStrategyType.ALWAYS;
230
+ } | {
231
+ type: SamplingStrategyType.NEVER;
232
+ } | {
233
+ type: SamplingStrategyType.RATIO;
234
+ probability: number;
235
+ } | {
236
+ type: SamplingStrategyType.CUSTOM;
237
+ sampler: (args_0: any, ...args: unknown[]) => boolean;
238
+ } | undefined;
239
+ exporters?: any[] | undefined;
240
+ bridge?: any;
168
241
  spanOutputProcessors?: any[] | undefined;
169
242
  includeInternalSpans?: boolean | undefined;
170
243
  requestContextKeys?: string[] | undefined;
244
+ serializationOptions?: {
245
+ maxStringLength?: number | undefined;
246
+ maxDepth?: number | undefined;
247
+ maxArrayLength?: number | undefined;
248
+ maxObjectKeys?: number | undefined;
249
+ } | undefined;
250
+ }>, {
251
+ name: string;
252
+ serviceName: string;
253
+ sampling?: {
254
+ type: SamplingStrategyType.ALWAYS;
255
+ } | {
256
+ type: SamplingStrategyType.NEVER;
257
+ } | {
258
+ type: SamplingStrategyType.RATIO;
259
+ probability: number;
260
+ } | {
261
+ type: SamplingStrategyType.CUSTOM;
262
+ sampler: (args_0: any, ...args: unknown[]) => boolean;
263
+ } | undefined;
264
+ exporters?: any[] | undefined;
265
+ bridge?: any;
266
+ spanOutputProcessors?: any[] | undefined;
267
+ includeInternalSpans?: boolean | undefined;
268
+ requestContextKeys?: string[] | undefined;
269
+ serializationOptions?: {
270
+ maxStringLength?: number | undefined;
271
+ maxDepth?: number | undefined;
272
+ maxArrayLength?: number | undefined;
273
+ maxObjectKeys?: number | undefined;
274
+ } | undefined;
171
275
  }, {
172
276
  name: string;
173
277
  serviceName: string;
@@ -183,15 +287,22 @@ export declare const observabilityInstanceConfigSchema: z.ZodObject<{
183
287
  sampler: (args_0: any, ...args: unknown[]) => boolean;
184
288
  } | undefined;
185
289
  exporters?: any[] | undefined;
290
+ bridge?: any;
186
291
  spanOutputProcessors?: any[] | undefined;
187
292
  includeInternalSpans?: boolean | undefined;
188
293
  requestContextKeys?: string[] | undefined;
294
+ serializationOptions?: {
295
+ maxStringLength?: number | undefined;
296
+ maxDepth?: number | undefined;
297
+ maxArrayLength?: number | undefined;
298
+ maxObjectKeys?: number | undefined;
299
+ } | undefined;
189
300
  }>;
190
301
  /**
191
302
  * Zod schema for config values in the configs map
192
303
  * This is the config object without the name field
193
304
  */
194
- export declare const observabilityConfigValueSchema: z.ZodObject<{
305
+ export declare const observabilityConfigValueSchema: z.ZodEffects<z.ZodObject<{
195
306
  serviceName: z.ZodString;
196
307
  sampling: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
197
308
  type: z.ZodLiteral<SamplingStrategyType.ALWAYS>;
@@ -225,9 +336,26 @@ export declare const observabilityConfigValueSchema: z.ZodObject<{
225
336
  sampler: (args_0: any, ...args: unknown[]) => boolean;
226
337
  }>]>>;
227
338
  exporters: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
339
+ bridge: z.ZodOptional<z.ZodAny>;
228
340
  spanOutputProcessors: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
229
341
  includeInternalSpans: z.ZodOptional<z.ZodBoolean>;
230
342
  requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
343
+ serializationOptions: z.ZodOptional<z.ZodObject<{
344
+ maxStringLength: z.ZodOptional<z.ZodNumber>;
345
+ maxDepth: z.ZodOptional<z.ZodNumber>;
346
+ maxArrayLength: z.ZodOptional<z.ZodNumber>;
347
+ maxObjectKeys: z.ZodOptional<z.ZodNumber>;
348
+ }, "strip", z.ZodTypeAny, {
349
+ maxStringLength?: number | undefined;
350
+ maxDepth?: number | undefined;
351
+ maxArrayLength?: number | undefined;
352
+ maxObjectKeys?: number | undefined;
353
+ }, {
354
+ maxStringLength?: number | undefined;
355
+ maxDepth?: number | undefined;
356
+ maxArrayLength?: number | undefined;
357
+ maxObjectKeys?: number | undefined;
358
+ }>>;
231
359
  }, "strip", z.ZodTypeAny, {
232
360
  serviceName: string;
233
361
  sampling?: {
@@ -242,9 +370,64 @@ export declare const observabilityConfigValueSchema: z.ZodObject<{
242
370
  sampler: (args_0: any, ...args: unknown[]) => boolean;
243
371
  } | undefined;
244
372
  exporters?: any[] | undefined;
373
+ bridge?: any;
374
+ spanOutputProcessors?: any[] | undefined;
375
+ includeInternalSpans?: boolean | undefined;
376
+ requestContextKeys?: string[] | undefined;
377
+ serializationOptions?: {
378
+ maxStringLength?: number | undefined;
379
+ maxDepth?: number | undefined;
380
+ maxArrayLength?: number | undefined;
381
+ maxObjectKeys?: number | undefined;
382
+ } | undefined;
383
+ }, {
384
+ serviceName: string;
385
+ sampling?: {
386
+ type: SamplingStrategyType.ALWAYS;
387
+ } | {
388
+ type: SamplingStrategyType.NEVER;
389
+ } | {
390
+ type: SamplingStrategyType.RATIO;
391
+ probability: number;
392
+ } | {
393
+ type: SamplingStrategyType.CUSTOM;
394
+ sampler: (args_0: any, ...args: unknown[]) => boolean;
395
+ } | undefined;
396
+ exporters?: any[] | undefined;
397
+ bridge?: any;
398
+ spanOutputProcessors?: any[] | undefined;
399
+ includeInternalSpans?: boolean | undefined;
400
+ requestContextKeys?: string[] | undefined;
401
+ serializationOptions?: {
402
+ maxStringLength?: number | undefined;
403
+ maxDepth?: number | undefined;
404
+ maxArrayLength?: number | undefined;
405
+ maxObjectKeys?: number | undefined;
406
+ } | undefined;
407
+ }>, {
408
+ serviceName: string;
409
+ sampling?: {
410
+ type: SamplingStrategyType.ALWAYS;
411
+ } | {
412
+ type: SamplingStrategyType.NEVER;
413
+ } | {
414
+ type: SamplingStrategyType.RATIO;
415
+ probability: number;
416
+ } | {
417
+ type: SamplingStrategyType.CUSTOM;
418
+ sampler: (args_0: any, ...args: unknown[]) => boolean;
419
+ } | undefined;
420
+ exporters?: any[] | undefined;
421
+ bridge?: any;
245
422
  spanOutputProcessors?: any[] | undefined;
246
423
  includeInternalSpans?: boolean | undefined;
247
424
  requestContextKeys?: string[] | undefined;
425
+ serializationOptions?: {
426
+ maxStringLength?: number | undefined;
427
+ maxDepth?: number | undefined;
428
+ maxArrayLength?: number | undefined;
429
+ maxObjectKeys?: number | undefined;
430
+ } | undefined;
248
431
  }, {
249
432
  serviceName: string;
250
433
  sampling?: {
@@ -259,9 +442,16 @@ export declare const observabilityConfigValueSchema: z.ZodObject<{
259
442
  sampler: (args_0: any, ...args: unknown[]) => boolean;
260
443
  } | undefined;
261
444
  exporters?: any[] | undefined;
445
+ bridge?: any;
262
446
  spanOutputProcessors?: any[] | undefined;
263
447
  includeInternalSpans?: boolean | undefined;
264
448
  requestContextKeys?: string[] | undefined;
449
+ serializationOptions?: {
450
+ maxStringLength?: number | undefined;
451
+ maxDepth?: number | undefined;
452
+ maxArrayLength?: number | undefined;
453
+ maxObjectKeys?: number | undefined;
454
+ } | undefined;
265
455
  }>;
266
456
  /**
267
457
  * Zod schema for ObservabilityRegistryConfig
@@ -269,7 +459,7 @@ export declare const observabilityConfigValueSchema: z.ZodObject<{
269
459
  * both plain config objects and pre-instantiated ObservabilityInstance objects.
270
460
  * The schema is permissive to handle edge cases gracefully (arrays, null values).
271
461
  */
272
- export declare const observabilityRegistryConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
462
+ export declare const observabilityRegistryConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
273
463
  default: z.ZodNullable<z.ZodOptional<z.ZodObject<{
274
464
  enabled: z.ZodOptional<z.ZodBoolean>;
275
465
  }, "strip", z.ZodTypeAny, {
@@ -339,5 +529,25 @@ export declare const observabilityRegistryConfigSchema: z.ZodEffects<z.ZodEffect
339
529
  }>>>;
340
530
  configs: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny, "many">, z.ZodNull]>>;
341
531
  configSelector: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnknown>>;
532
+ }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
533
+ default: z.ZodNullable<z.ZodOptional<z.ZodObject<{
534
+ enabled: z.ZodOptional<z.ZodBoolean>;
535
+ }, "strip", z.ZodTypeAny, {
536
+ enabled?: boolean | undefined;
537
+ }, {
538
+ enabled?: boolean | undefined;
539
+ }>>>;
540
+ configs: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny, "many">, z.ZodNull]>>;
541
+ configSelector: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnknown>>;
542
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
543
+ default: z.ZodNullable<z.ZodOptional<z.ZodObject<{
544
+ enabled: z.ZodOptional<z.ZodBoolean>;
545
+ }, "strip", z.ZodTypeAny, {
546
+ enabled?: boolean | undefined;
547
+ }, {
548
+ enabled?: boolean | undefined;
549
+ }>>>;
550
+ configs: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny, "many">, z.ZodNull]>>;
551
+ configSelector: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnknown>>;
342
552
  }, z.ZodTypeAny, "passthrough">>;
343
553
  //# sourceMappingURL=config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,qBAAqB,EACrB,qBAAqB,EACrB,mBAAmB,EACnB,cAAc,EACf,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;GAEG;AACH,oBAAY,oBAAoB;IAC9B,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,MAAM,WAAW;CAClB;AAED;;G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AAO,CAAC,IAAI,CAAC;CAuChC"}
@@ -1,4 +1,5 @@
1
- import type { TracingEvent, InitExporterOptions, TracingStorageStrategy } from '@mastra/core/observability';
1
+ import type { TracingEvent, InitExporterOptions } from '@mastra/core/observability';
2
+ import type { TracingStorageStrategy } from '@mastra/core/storage';
2
3
  import type { BaseExporterConfig } from './base.js';
3
4
  import { BaseExporter } from './base.js';
4
5
  interface DefaultExporterConfig extends BaseExporterConfig {
@@ -18,9 +19,9 @@ export declare class DefaultExporter extends BaseExporter {
18
19
  /**
19
20
  * Initialize the exporter (called after all dependencies are ready)
20
21
  */
21
- init(options: InitExporterOptions): void;
22
+ init(options: InitExporterOptions): Promise<void>;
22
23
  /**
23
- * Initialize the resolved strategy once storage is available
24
+ * Initialize the resolved strategy once observability store is available
24
25
  */
25
26
  private initializeStrategy;
26
27
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../src/exporters/default.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,YAAY,EAEZ,mBAAmB,EACnB,sBAAsB,EACvB,MAAM,4BAA4B,CAAC;AAGpC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,UAAU,qBAAsB,SAAQ,kBAAkB;IACxD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,QAAQ,CAAC,EAAE,sBAAsB,GAAG,MAAM,CAAC;CAC5C;AAwDD,qBAAa,eAAgB,SAAQ,YAAY;;IAC/C,IAAI,SAA2C;IAK/C,OAAO,CAAC,MAAM,CAAc;IAI5B,OAAO,CAAC,eAAe,CAA0B;gBAErC,MAAM,GAAE,qBAA0B;IAo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,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,QAAQ,CAAC,EAAE,sBAAsB,GAAG,MAAM,CAAC;CAC5C;AAmED,qBAAa,eAAgB,SAAQ,YAAY;;IAC/C,IAAI,SAA2C;IAM/C,OAAO,CAAC,MAAM,CAAc;IAI5B,OAAO,CAAC,eAAe,CAA0B;gBAErC,MAAM,GAAE,qBAA0B;IAoC9C;;OAEG;IACG,IAAI,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC;IAgBvD;;OAEG;IACH,OAAO,CAAC,kBAAkB;IAe1B;;OAEG;IACH,OAAO,CAAC,YAAY;IAIpB;;OAEG;IACH,OAAO,CAAC,eAAe;IAOvB;;OAEG;IACH,OAAO,CAAC,sBAAsB;IAS9B;;OAEG;IACH,OAAO,CAAC,WAAW;IAgFnB;;OAEG;IACH,OAAO,CAAC,WAAW;IAsBnB;;OAEG;IACH,OAAO,CAAC,WAAW;IAiBnB;;OAEG;IACH,OAAO,CAAC,aAAa;IAarB;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAiC3B,OAAO,CAAC,iBAAiB;IAgDzB,OAAO,CAAC,iBAAiB;IAczB;;OAEG;YACW,mBAAmB;IAyCjC;;OAEG;IACH,OAAO,CAAC,2BAA2B;IAgBnC;;OAEG;IACH,OAAO,CAAC,qBAAqB;IAoB7B;;OAEG;IACH,OAAO,CAAC,mBAAmB;IAI3B;;OAEG;YACW,KAAK;IAsDnB;;OAEG;YACW,gBAAgB;IA+DxB,mBAAmB,CAAC,KAAK,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC;IAyBvD,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;CAuBhC"}
@@ -6,4 +6,5 @@ export { CloudExporter } from './cloud.js';
6
6
  export type { CloudExporterConfig } from './cloud.js';
7
7
  export * from './console.js';
8
8
  export * from './default.js';
9
+ export * from './test.js';
9
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/exporters/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,cAAc,QAAQ,CAAC;AAGvB,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,YAAY,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AACnD,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/exporters/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,cAAc,QAAQ,CAAC;AAGvB,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,YAAY,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AACnD,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { TracingEvent } from '@mastra/core/observability';
2
+ import { BaseExporter } from './base.js';
3
+ import type { BaseExporterConfig } from './base.js';
4
+ export declare class TestExporter extends BaseExporter {
5
+ #private;
6
+ name: string;
7
+ constructor(config?: BaseExporterConfig);
8
+ protected _exportTracingEvent(event: TracingEvent): Promise<void>;
9
+ clearEvents(): void;
10
+ get events(): TracingEvent[];
11
+ shutdown(): Promise<void>;
12
+ }
13
+ //# sourceMappingURL=test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test.d.ts","sourceRoot":"","sources":["../../src/exporters/test.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAEjD,qBAAa,YAAa,SAAQ,YAAY;;IAC5C,IAAI,SAA2B;gBAGnB,MAAM,GAAE,kBAAuB;cAI3B,mBAAmB,CAAC,KAAK,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC;IAIvE,WAAW;IAIX,IAAI,MAAM,IAAI,YAAY,EAAE,CAE3B;IAEK,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;CAGhC"}