@stacknext/core 0.6.1 → 0.8.0

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/dist/schema.d.ts CHANGED
@@ -58,6 +58,7 @@ export declare const ingestErrorSchema: z.ZodObject<{
58
58
  routerKind: z.ZodOptional<z.ZodString>;
59
59
  routeType: z.ZodOptional<z.ZodString>;
60
60
  renderSource: z.ZodOptional<z.ZodString>;
61
+ renderType: z.ZodOptional<z.ZodString>;
61
62
  traceId: z.ZodOptional<z.ZodString>;
62
63
  spanId: z.ZodOptional<z.ZodString>;
63
64
  attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -162,6 +163,7 @@ export declare const ingestEnvelopeSchema: z.ZodObject<{
162
163
  routerKind: z.ZodOptional<z.ZodString>;
163
164
  routeType: z.ZodOptional<z.ZodString>;
164
165
  renderSource: z.ZodOptional<z.ZodString>;
166
+ renderType: z.ZodOptional<z.ZodString>;
165
167
  traceId: z.ZodOptional<z.ZodString>;
166
168
  spanId: z.ZodOptional<z.ZodString>;
167
169
  attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -196,4 +198,473 @@ export declare const ingestEnvelopeSchema: z.ZodObject<{
196
198
  }, z.core.$strict>>;
197
199
  }, z.core.$strict>;
198
200
  export type ParsedIngestEnvelope = z.infer<typeof ingestEnvelopeSchema>;
201
+ /**
202
+ * Stored telemetry uses the same normalized fields as ingestion plus the
203
+ * collector receive time and, for errors, the grouped fingerprint.
204
+ */
205
+ export declare const storedSpanSchema: z.ZodObject<{
206
+ traceId: z.ZodString;
207
+ spanId: z.ZodString;
208
+ parentSpanId: z.ZodOptional<z.ZodString>;
209
+ name: z.ZodString;
210
+ kind: z.ZodEnum<{
211
+ client: "client";
212
+ server: "server";
213
+ internal: "internal";
214
+ producer: "producer";
215
+ consumer: "consumer";
216
+ }>;
217
+ startTime: z.ZodNumber;
218
+ endTime: z.ZodNumber;
219
+ durationMs: z.ZodNumber;
220
+ status: z.ZodEnum<{
221
+ error: "error";
222
+ unset: "unset";
223
+ ok: "ok";
224
+ }>;
225
+ statusMessage: z.ZodOptional<z.ZodString>;
226
+ serviceName: z.ZodString;
227
+ route: z.ZodOptional<z.ZodString>;
228
+ method: z.ZodOptional<z.ZodString>;
229
+ statusCode: z.ZodOptional<z.ZodNumber>;
230
+ nextSpanType: z.ZodOptional<z.ZodString>;
231
+ nextSpanName: z.ZodOptional<z.ZodString>;
232
+ nextRoute: z.ZodOptional<z.ZodString>;
233
+ nextPage: z.ZodOptional<z.ZodString>;
234
+ nextSegment: z.ZodOptional<z.ZodString>;
235
+ nextRsc: z.ZodOptional<z.ZodBoolean>;
236
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
237
+ events: z.ZodArray<z.ZodObject<{
238
+ name: z.ZodString;
239
+ time: z.ZodNumber;
240
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
241
+ }, z.core.$strict>>;
242
+ resource: z.ZodRecord<z.ZodString, z.ZodUnknown>;
243
+ receivedAt: z.ZodNumber;
244
+ }, z.core.$strict>;
245
+ export declare const storedErrorSchema: z.ZodObject<{
246
+ id: z.ZodString;
247
+ message: z.ZodString;
248
+ name: z.ZodString;
249
+ stack: z.ZodOptional<z.ZodString>;
250
+ digest: z.ZodOptional<z.ZodString>;
251
+ timestamp: z.ZodNumber;
252
+ route: z.ZodOptional<z.ZodString>;
253
+ method: z.ZodOptional<z.ZodString>;
254
+ requestPath: z.ZodOptional<z.ZodString>;
255
+ routerKind: z.ZodOptional<z.ZodString>;
256
+ routeType: z.ZodOptional<z.ZodString>;
257
+ renderSource: z.ZodOptional<z.ZodString>;
258
+ renderType: z.ZodOptional<z.ZodString>;
259
+ traceId: z.ZodOptional<z.ZodString>;
260
+ spanId: z.ZodOptional<z.ZodString>;
261
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
262
+ fingerprint: z.ZodString;
263
+ receivedAt: z.ZodNumber;
264
+ }, z.core.$strict>;
265
+ export declare const storedDatabaseQuerySchema: z.ZodObject<{
266
+ id: z.ZodString;
267
+ traceId: z.ZodOptional<z.ZodString>;
268
+ spanId: z.ZodOptional<z.ZodString>;
269
+ timestamp: z.ZodNumber;
270
+ durationMs: z.ZodNullable<z.ZodNumber>;
271
+ sql: z.ZodString;
272
+ databaseSystem: z.ZodString;
273
+ operation: z.ZodOptional<z.ZodString>;
274
+ success: z.ZodBoolean;
275
+ errorMessage: z.ZodOptional<z.ZodString>;
276
+ source: z.ZodEnum<{
277
+ drizzle: "drizzle";
278
+ prisma: "prisma";
279
+ manual: "manual";
280
+ }>;
281
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
282
+ receivedAt: z.ZodNumber;
283
+ }, z.core.$strict>;
284
+ export declare const snapshotConfigSchema: z.ZodObject<{
285
+ projectName: z.ZodOptional<z.ZodString>;
286
+ dashboard: z.ZodDefault<z.ZodObject<{
287
+ port: z.ZodDefault<z.ZodNumber>;
288
+ }, z.core.$strict>>;
289
+ collector: z.ZodDefault<z.ZodObject<{
290
+ maxSpans: z.ZodDefault<z.ZodNumber>;
291
+ retentionMs: z.ZodDefault<z.ZodNumber>;
292
+ }, z.core.$strict>>;
293
+ instrumentation: z.ZodDefault<z.ZodObject<{
294
+ verbose: z.ZodDefault<z.ZodBoolean>;
295
+ captureFetch: z.ZodDefault<z.ZodBoolean>;
296
+ captureErrors: z.ZodDefault<z.ZodBoolean>;
297
+ }, z.core.$strict>>;
298
+ privacy: z.ZodDefault<z.ZodObject<{
299
+ captureHeaders: z.ZodDefault<z.ZodBoolean>;
300
+ captureRequestBodies: z.ZodDefault<z.ZodBoolean>;
301
+ captureSqlParameters: z.ZodDefault<z.ZodBoolean>;
302
+ redactSensitiveData: z.ZodDefault<z.ZodLiteral<true>>;
303
+ }, z.core.$strict>>;
304
+ database: z.ZodDefault<z.ZodObject<{
305
+ drizzle: z.ZodDefault<z.ZodBoolean>;
306
+ prisma: z.ZodDefault<z.ZodBoolean>;
307
+ }, z.core.$strict>>;
308
+ diagnostics: z.ZodDefault<z.ZodObject<{
309
+ enabled: z.ZodDefault<z.ZodBoolean>;
310
+ repeatedQueryMin: z.ZodDefault<z.ZodNumber>;
311
+ slowSpans: z.ZodDefault<z.ZodObject<{
312
+ databaseMs: z.ZodDefault<z.ZodNumber>;
313
+ httpMs: z.ZodDefault<z.ZodNumber>;
314
+ customMs: z.ZodDefault<z.ZodNumber>;
315
+ frameworkMs: z.ZodDefault<z.ZodNumber>;
316
+ otherMs: z.ZodDefault<z.ZodNumber>;
317
+ }, z.core.$strict>>;
318
+ repeatedHttpMin: z.ZodDefault<z.ZodNumber>;
319
+ errorGrouping: z.ZodDefault<z.ZodBoolean>;
320
+ errorGroupMin: z.ZodDefault<z.ZodNumber>;
321
+ maxFindings: z.ZodDefault<z.ZodNumber>;
322
+ }, z.core.$strict>>;
323
+ slowRequestMs: z.ZodDefault<z.ZodNumber>;
324
+ snapshots: z.ZodDefault<z.ZodObject<{
325
+ autoOnExit: z.ZodDefault<z.ZodBoolean>;
326
+ autoOnError: z.ZodDefault<z.ZodBoolean>;
327
+ autoKeep: z.ZodDefault<z.ZodNumber>;
328
+ maxBytes: z.ZodDefault<z.ZodNumber>;
329
+ }, z.core.$strict>>;
330
+ }, z.core.$strict>;
331
+ export declare const snapshotSourceSchema: z.ZodEnum<{
332
+ error: "error";
333
+ manual: "manual";
334
+ exit: "exit";
335
+ import: "import";
336
+ }>;
337
+ export declare const snapshotStatsSchema: z.ZodObject<{
338
+ requests: z.ZodNumber;
339
+ errors: z.ZodNumber;
340
+ databaseQueries: z.ZodNumber;
341
+ spans: z.ZodNumber;
342
+ }, z.core.$strict>;
343
+ export declare const snapshotSampleSchema: z.ZodObject<{
344
+ firstEventTime: z.ZodNullable<z.ZodNumber>;
345
+ lastEventTime: z.ZodNullable<z.ZodNumber>;
346
+ retentionMs: z.ZodNumber;
347
+ }, z.core.$strict>;
348
+ export declare const snapshotSummarySchema: z.ZodObject<{
349
+ id: z.ZodString;
350
+ createdAt: z.ZodNumber;
351
+ source: z.ZodEnum<{
352
+ error: "error";
353
+ manual: "manual";
354
+ exit: "exit";
355
+ import: "import";
356
+ }>;
357
+ projectName: z.ZodString;
358
+ collectorVersion: z.ZodString;
359
+ label: z.ZodOptional<z.ZodString>;
360
+ sample: z.ZodObject<{
361
+ firstEventTime: z.ZodNullable<z.ZodNumber>;
362
+ lastEventTime: z.ZodNullable<z.ZodNumber>;
363
+ retentionMs: z.ZodNumber;
364
+ }, z.core.$strict>;
365
+ stats: z.ZodObject<{
366
+ requests: z.ZodNumber;
367
+ errors: z.ZodNumber;
368
+ databaseQueries: z.ZodNumber;
369
+ spans: z.ZodNumber;
370
+ }, z.core.$strict>;
371
+ bytes: z.ZodNumber;
372
+ }, z.core.$strict>;
373
+ export declare const snapshotPayloadSchema: z.ZodObject<{
374
+ format: z.ZodLiteral<"stacknext-snapshot">;
375
+ version: z.ZodLiteral<1>;
376
+ id: z.ZodString;
377
+ createdAt: z.ZodNumber;
378
+ source: z.ZodEnum<{
379
+ error: "error";
380
+ manual: "manual";
381
+ exit: "exit";
382
+ import: "import";
383
+ }>;
384
+ projectName: z.ZodString;
385
+ collectorVersion: z.ZodString;
386
+ label: z.ZodOptional<z.ZodString>;
387
+ config: z.ZodObject<{
388
+ projectName: z.ZodOptional<z.ZodString>;
389
+ dashboard: z.ZodDefault<z.ZodObject<{
390
+ port: z.ZodDefault<z.ZodNumber>;
391
+ }, z.core.$strict>>;
392
+ collector: z.ZodDefault<z.ZodObject<{
393
+ maxSpans: z.ZodDefault<z.ZodNumber>;
394
+ retentionMs: z.ZodDefault<z.ZodNumber>;
395
+ }, z.core.$strict>>;
396
+ instrumentation: z.ZodDefault<z.ZodObject<{
397
+ verbose: z.ZodDefault<z.ZodBoolean>;
398
+ captureFetch: z.ZodDefault<z.ZodBoolean>;
399
+ captureErrors: z.ZodDefault<z.ZodBoolean>;
400
+ }, z.core.$strict>>;
401
+ privacy: z.ZodDefault<z.ZodObject<{
402
+ captureHeaders: z.ZodDefault<z.ZodBoolean>;
403
+ captureRequestBodies: z.ZodDefault<z.ZodBoolean>;
404
+ captureSqlParameters: z.ZodDefault<z.ZodBoolean>;
405
+ redactSensitiveData: z.ZodDefault<z.ZodLiteral<true>>;
406
+ }, z.core.$strict>>;
407
+ database: z.ZodDefault<z.ZodObject<{
408
+ drizzle: z.ZodDefault<z.ZodBoolean>;
409
+ prisma: z.ZodDefault<z.ZodBoolean>;
410
+ }, z.core.$strict>>;
411
+ diagnostics: z.ZodDefault<z.ZodObject<{
412
+ enabled: z.ZodDefault<z.ZodBoolean>;
413
+ repeatedQueryMin: z.ZodDefault<z.ZodNumber>;
414
+ slowSpans: z.ZodDefault<z.ZodObject<{
415
+ databaseMs: z.ZodDefault<z.ZodNumber>;
416
+ httpMs: z.ZodDefault<z.ZodNumber>;
417
+ customMs: z.ZodDefault<z.ZodNumber>;
418
+ frameworkMs: z.ZodDefault<z.ZodNumber>;
419
+ otherMs: z.ZodDefault<z.ZodNumber>;
420
+ }, z.core.$strict>>;
421
+ repeatedHttpMin: z.ZodDefault<z.ZodNumber>;
422
+ errorGrouping: z.ZodDefault<z.ZodBoolean>;
423
+ errorGroupMin: z.ZodDefault<z.ZodNumber>;
424
+ maxFindings: z.ZodDefault<z.ZodNumber>;
425
+ }, z.core.$strict>>;
426
+ slowRequestMs: z.ZodDefault<z.ZodNumber>;
427
+ snapshots: z.ZodDefault<z.ZodObject<{
428
+ autoOnExit: z.ZodDefault<z.ZodBoolean>;
429
+ autoOnError: z.ZodDefault<z.ZodBoolean>;
430
+ autoKeep: z.ZodDefault<z.ZodNumber>;
431
+ maxBytes: z.ZodDefault<z.ZodNumber>;
432
+ }, z.core.$strict>>;
433
+ }, z.core.$strict>;
434
+ sample: z.ZodObject<{
435
+ firstEventTime: z.ZodNullable<z.ZodNumber>;
436
+ lastEventTime: z.ZodNullable<z.ZodNumber>;
437
+ retentionMs: z.ZodNumber;
438
+ }, z.core.$strict>;
439
+ spans: z.ZodArray<z.ZodObject<{
440
+ traceId: z.ZodString;
441
+ spanId: z.ZodString;
442
+ parentSpanId: z.ZodOptional<z.ZodString>;
443
+ name: z.ZodString;
444
+ kind: z.ZodEnum<{
445
+ client: "client";
446
+ server: "server";
447
+ internal: "internal";
448
+ producer: "producer";
449
+ consumer: "consumer";
450
+ }>;
451
+ startTime: z.ZodNumber;
452
+ endTime: z.ZodNumber;
453
+ durationMs: z.ZodNumber;
454
+ status: z.ZodEnum<{
455
+ error: "error";
456
+ unset: "unset";
457
+ ok: "ok";
458
+ }>;
459
+ statusMessage: z.ZodOptional<z.ZodString>;
460
+ serviceName: z.ZodString;
461
+ route: z.ZodOptional<z.ZodString>;
462
+ method: z.ZodOptional<z.ZodString>;
463
+ statusCode: z.ZodOptional<z.ZodNumber>;
464
+ nextSpanType: z.ZodOptional<z.ZodString>;
465
+ nextSpanName: z.ZodOptional<z.ZodString>;
466
+ nextRoute: z.ZodOptional<z.ZodString>;
467
+ nextPage: z.ZodOptional<z.ZodString>;
468
+ nextSegment: z.ZodOptional<z.ZodString>;
469
+ nextRsc: z.ZodOptional<z.ZodBoolean>;
470
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
471
+ events: z.ZodArray<z.ZodObject<{
472
+ name: z.ZodString;
473
+ time: z.ZodNumber;
474
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
475
+ }, z.core.$strict>>;
476
+ resource: z.ZodRecord<z.ZodString, z.ZodUnknown>;
477
+ receivedAt: z.ZodNumber;
478
+ }, z.core.$strict>>;
479
+ errors: z.ZodArray<z.ZodObject<{
480
+ id: z.ZodString;
481
+ message: z.ZodString;
482
+ name: z.ZodString;
483
+ stack: z.ZodOptional<z.ZodString>;
484
+ digest: z.ZodOptional<z.ZodString>;
485
+ timestamp: z.ZodNumber;
486
+ route: z.ZodOptional<z.ZodString>;
487
+ method: z.ZodOptional<z.ZodString>;
488
+ requestPath: z.ZodOptional<z.ZodString>;
489
+ routerKind: z.ZodOptional<z.ZodString>;
490
+ routeType: z.ZodOptional<z.ZodString>;
491
+ renderSource: z.ZodOptional<z.ZodString>;
492
+ renderType: z.ZodOptional<z.ZodString>;
493
+ traceId: z.ZodOptional<z.ZodString>;
494
+ spanId: z.ZodOptional<z.ZodString>;
495
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
496
+ fingerprint: z.ZodString;
497
+ receivedAt: z.ZodNumber;
498
+ }, z.core.$strict>>;
499
+ databaseQueries: z.ZodArray<z.ZodObject<{
500
+ id: z.ZodString;
501
+ traceId: z.ZodOptional<z.ZodString>;
502
+ spanId: z.ZodOptional<z.ZodString>;
503
+ timestamp: z.ZodNumber;
504
+ durationMs: z.ZodNullable<z.ZodNumber>;
505
+ sql: z.ZodString;
506
+ databaseSystem: z.ZodString;
507
+ operation: z.ZodOptional<z.ZodString>;
508
+ success: z.ZodBoolean;
509
+ errorMessage: z.ZodOptional<z.ZodString>;
510
+ source: z.ZodEnum<{
511
+ drizzle: "drizzle";
512
+ prisma: "prisma";
513
+ manual: "manual";
514
+ }>;
515
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
516
+ receivedAt: z.ZodNumber;
517
+ }, z.core.$strict>>;
518
+ stats: z.ZodObject<{
519
+ requests: z.ZodNumber;
520
+ errors: z.ZodNumber;
521
+ databaseQueries: z.ZodNumber;
522
+ spans: z.ZodNumber;
523
+ }, z.core.$strict>;
524
+ limitations: z.ZodArray<z.ZodString>;
525
+ }, z.core.$strict>;
526
+ /** Accepts a raw StackNext export as an import source. */
527
+ export declare const snapshotImportSchema: z.ZodObject<{
528
+ format: z.ZodLiteral<"stacknext-export">;
529
+ version: z.ZodLiteral<1>;
530
+ exportedAt: z.ZodNumber;
531
+ projectName: z.ZodString;
532
+ collectorVersion: z.ZodString;
533
+ config: z.ZodObject<{
534
+ projectName: z.ZodOptional<z.ZodString>;
535
+ dashboard: z.ZodDefault<z.ZodObject<{
536
+ port: z.ZodDefault<z.ZodNumber>;
537
+ }, z.core.$strict>>;
538
+ collector: z.ZodDefault<z.ZodObject<{
539
+ maxSpans: z.ZodDefault<z.ZodNumber>;
540
+ retentionMs: z.ZodDefault<z.ZodNumber>;
541
+ }, z.core.$strict>>;
542
+ instrumentation: z.ZodDefault<z.ZodObject<{
543
+ verbose: z.ZodDefault<z.ZodBoolean>;
544
+ captureFetch: z.ZodDefault<z.ZodBoolean>;
545
+ captureErrors: z.ZodDefault<z.ZodBoolean>;
546
+ }, z.core.$strict>>;
547
+ privacy: z.ZodDefault<z.ZodObject<{
548
+ captureHeaders: z.ZodDefault<z.ZodBoolean>;
549
+ captureRequestBodies: z.ZodDefault<z.ZodBoolean>;
550
+ captureSqlParameters: z.ZodDefault<z.ZodBoolean>;
551
+ redactSensitiveData: z.ZodDefault<z.ZodLiteral<true>>;
552
+ }, z.core.$strict>>;
553
+ database: z.ZodDefault<z.ZodObject<{
554
+ drizzle: z.ZodDefault<z.ZodBoolean>;
555
+ prisma: z.ZodDefault<z.ZodBoolean>;
556
+ }, z.core.$strict>>;
557
+ diagnostics: z.ZodDefault<z.ZodObject<{
558
+ enabled: z.ZodDefault<z.ZodBoolean>;
559
+ repeatedQueryMin: z.ZodDefault<z.ZodNumber>;
560
+ slowSpans: z.ZodDefault<z.ZodObject<{
561
+ databaseMs: z.ZodDefault<z.ZodNumber>;
562
+ httpMs: z.ZodDefault<z.ZodNumber>;
563
+ customMs: z.ZodDefault<z.ZodNumber>;
564
+ frameworkMs: z.ZodDefault<z.ZodNumber>;
565
+ otherMs: z.ZodDefault<z.ZodNumber>;
566
+ }, z.core.$strict>>;
567
+ repeatedHttpMin: z.ZodDefault<z.ZodNumber>;
568
+ errorGrouping: z.ZodDefault<z.ZodBoolean>;
569
+ errorGroupMin: z.ZodDefault<z.ZodNumber>;
570
+ maxFindings: z.ZodDefault<z.ZodNumber>;
571
+ }, z.core.$strict>>;
572
+ slowRequestMs: z.ZodDefault<z.ZodNumber>;
573
+ snapshots: z.ZodDefault<z.ZodObject<{
574
+ autoOnExit: z.ZodDefault<z.ZodBoolean>;
575
+ autoOnError: z.ZodDefault<z.ZodBoolean>;
576
+ autoKeep: z.ZodDefault<z.ZodNumber>;
577
+ maxBytes: z.ZodDefault<z.ZodNumber>;
578
+ }, z.core.$strict>>;
579
+ }, z.core.$strict>;
580
+ spans: z.ZodArray<z.ZodObject<{
581
+ traceId: z.ZodString;
582
+ spanId: z.ZodString;
583
+ parentSpanId: z.ZodOptional<z.ZodString>;
584
+ name: z.ZodString;
585
+ kind: z.ZodEnum<{
586
+ client: "client";
587
+ server: "server";
588
+ internal: "internal";
589
+ producer: "producer";
590
+ consumer: "consumer";
591
+ }>;
592
+ startTime: z.ZodNumber;
593
+ endTime: z.ZodNumber;
594
+ durationMs: z.ZodNumber;
595
+ status: z.ZodEnum<{
596
+ error: "error";
597
+ unset: "unset";
598
+ ok: "ok";
599
+ }>;
600
+ statusMessage: z.ZodOptional<z.ZodString>;
601
+ serviceName: z.ZodString;
602
+ route: z.ZodOptional<z.ZodString>;
603
+ method: z.ZodOptional<z.ZodString>;
604
+ statusCode: z.ZodOptional<z.ZodNumber>;
605
+ nextSpanType: z.ZodOptional<z.ZodString>;
606
+ nextSpanName: z.ZodOptional<z.ZodString>;
607
+ nextRoute: z.ZodOptional<z.ZodString>;
608
+ nextPage: z.ZodOptional<z.ZodString>;
609
+ nextSegment: z.ZodOptional<z.ZodString>;
610
+ nextRsc: z.ZodOptional<z.ZodBoolean>;
611
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
612
+ events: z.ZodArray<z.ZodObject<{
613
+ name: z.ZodString;
614
+ time: z.ZodNumber;
615
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
616
+ }, z.core.$strict>>;
617
+ resource: z.ZodRecord<z.ZodString, z.ZodUnknown>;
618
+ receivedAt: z.ZodNumber;
619
+ }, z.core.$strict>>;
620
+ errors: z.ZodArray<z.ZodObject<{
621
+ id: z.ZodString;
622
+ message: z.ZodString;
623
+ name: z.ZodString;
624
+ stack: z.ZodOptional<z.ZodString>;
625
+ digest: z.ZodOptional<z.ZodString>;
626
+ timestamp: z.ZodNumber;
627
+ route: z.ZodOptional<z.ZodString>;
628
+ method: z.ZodOptional<z.ZodString>;
629
+ requestPath: z.ZodOptional<z.ZodString>;
630
+ routerKind: z.ZodOptional<z.ZodString>;
631
+ routeType: z.ZodOptional<z.ZodString>;
632
+ renderSource: z.ZodOptional<z.ZodString>;
633
+ renderType: z.ZodOptional<z.ZodString>;
634
+ traceId: z.ZodOptional<z.ZodString>;
635
+ spanId: z.ZodOptional<z.ZodString>;
636
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
637
+ fingerprint: z.ZodString;
638
+ receivedAt: z.ZodNumber;
639
+ }, z.core.$strict>>;
640
+ databaseQueries: z.ZodArray<z.ZodObject<{
641
+ id: z.ZodString;
642
+ traceId: z.ZodOptional<z.ZodString>;
643
+ spanId: z.ZodOptional<z.ZodString>;
644
+ timestamp: z.ZodNumber;
645
+ durationMs: z.ZodNullable<z.ZodNumber>;
646
+ sql: z.ZodString;
647
+ databaseSystem: z.ZodString;
648
+ operation: z.ZodOptional<z.ZodString>;
649
+ success: z.ZodBoolean;
650
+ errorMessage: z.ZodOptional<z.ZodString>;
651
+ source: z.ZodEnum<{
652
+ drizzle: "drizzle";
653
+ prisma: "prisma";
654
+ manual: "manual";
655
+ }>;
656
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
657
+ receivedAt: z.ZodNumber;
658
+ }, z.core.$strict>>;
659
+ stats: z.ZodObject<{
660
+ requests: z.ZodNumber;
661
+ errors: z.ZodNumber;
662
+ databaseQueries: z.ZodNumber;
663
+ spans: z.ZodNumber;
664
+ }, z.core.$strict>;
665
+ diagnostics: z.ZodOptional<z.ZodUnknown>;
666
+ limitations: z.ZodArray<z.ZodString>;
667
+ }, z.core.$strict>;
668
+ export type ParsedSnapshotPayload = z.infer<typeof snapshotPayloadSchema>;
669
+ export type ParsedSnapshotImport = z.infer<typeof snapshotImportSchema>;
199
670
  //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAYvB,eAAO,MAAM,aAAa,aAAe,CAAA;AACzC,eAAO,MAAM,YAAY,aAAe,CAAA;AAUxC,eAAO,MAAM,eAAe;;;;kBAMjB,CAAA;AAEX,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA0BlB,CAAA;AAEX,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;kBAkBnB,CAAA;AAEX,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;kBAe3B,CAAA;AAEX,eAAO,MAAM,yBAAyB;;;;;;;;;kBAW3B,CAAA;AAEX,eAAO,MAAM,cAAc;;;;;;;;kBAUhB,CAAA;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAStB,CAAA;AAEX,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAcvB,eAAO,MAAM,aAAa,aAAe,CAAA;AACzC,eAAO,MAAM,YAAY,aAAe,CAAA;AAUxC,eAAO,MAAM,eAAe;;;;kBAMjB,CAAA;AAEX,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA0BlB,CAAA;AAEX,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;kBAmBnB,CAAA;AAEX,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAetB,CAAA;AAEX,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AACzE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
package/dist/schema.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { DATABASE_SOURCES, SPAN_KINDS, SPAN_STATUSES, } from './types.js';
2
+ import { stackNextConfigSchema } from './config.js';
3
+ import { DATABASE_SOURCES, SNAPSHOT_SOURCES, SPAN_KINDS, SPAN_STATUSES, } from './types.js';
3
4
  const idSchema = (length) => z
4
5
  .string()
5
6
  .regex(new RegExp(`^[0-9a-f]{${length}}$`, 'i'), `must be ${length} hexadecimal characters`);
@@ -59,6 +60,7 @@ export const ingestErrorSchema = z
59
60
  routerKind: z.string().max(100).optional(),
60
61
  routeType: z.string().max(100).optional(),
61
62
  renderSource: z.string().max(100).optional(),
63
+ renderType: z.string().max(100).optional(),
62
64
  traceId: traceIdSchema.optional(),
63
65
  spanId: spanIdSchema.optional(),
64
66
  attributes: jsonRecordSchema,
@@ -113,4 +115,109 @@ export const ingestEnvelopeSchema = z
113
115
  diagnostics: exporterDiagnosticsSchema.optional(),
114
116
  })
115
117
  .strict();
118
+ /**
119
+ * Stored telemetry uses the same normalized fields as ingestion plus the
120
+ * collector receive time and, for errors, the grouped fingerprint.
121
+ */
122
+ export const storedSpanSchema = ingestSpanSchema
123
+ .extend({ receivedAt: timestampSchema })
124
+ .strict();
125
+ export const storedErrorSchema = ingestErrorSchema
126
+ .extend({
127
+ fingerprint: z.string().min(1).max(64),
128
+ receivedAt: timestampSchema,
129
+ })
130
+ .strict();
131
+ export const storedDatabaseQuerySchema = ingestDatabaseQuerySchema
132
+ .extend({ receivedAt: timestampSchema })
133
+ .strict();
134
+ export const snapshotConfigSchema = stackNextConfigSchema.superRefine((config, context) => {
135
+ if (config.privacy.captureHeaders) {
136
+ context.addIssue({
137
+ code: 'custom',
138
+ path: ['privacy', 'captureHeaders'],
139
+ message: 'request headers are never captured',
140
+ });
141
+ }
142
+ if (config.privacy.captureRequestBodies) {
143
+ context.addIssue({
144
+ code: 'custom',
145
+ path: ['privacy', 'captureRequestBodies'],
146
+ message: 'request bodies are never captured',
147
+ });
148
+ }
149
+ if (config.privacy.captureSqlParameters) {
150
+ context.addIssue({
151
+ code: 'custom',
152
+ path: ['privacy', 'captureSqlParameters'],
153
+ message: 'SQL parameters are never captured',
154
+ });
155
+ }
156
+ });
157
+ export const snapshotSourceSchema = z.enum(SNAPSHOT_SOURCES);
158
+ export const snapshotStatsSchema = z
159
+ .object({
160
+ requests: z.number().int().nonnegative(),
161
+ errors: z.number().int().nonnegative(),
162
+ databaseQueries: z.number().int().nonnegative(),
163
+ spans: z.number().int().nonnegative(),
164
+ })
165
+ .strict();
166
+ export const snapshotSampleSchema = z
167
+ .object({
168
+ firstEventTime: timestampSchema.nullable(),
169
+ lastEventTime: timestampSchema.nullable(),
170
+ retentionMs: z.number().int().nonnegative(),
171
+ })
172
+ .strict();
173
+ export const snapshotSummarySchema = z
174
+ .object({
175
+ id: z.string().regex(/^snap-[0-9a-f]{16}$/, 'must look like snap-xxxxxxxxxxxxxxxx'),
176
+ createdAt: timestampSchema,
177
+ source: snapshotSourceSchema,
178
+ projectName: z.string().min(1).max(200),
179
+ collectorVersion: z.string().min(1).max(100),
180
+ label: z.string().min(1).max(200).optional(),
181
+ sample: snapshotSampleSchema,
182
+ stats: snapshotStatsSchema,
183
+ bytes: z.number().int().nonnegative(),
184
+ })
185
+ .strict();
186
+ const MAX_SNAPSHOT_RECORDS = 100_000;
187
+ export const snapshotPayloadSchema = z
188
+ .object({
189
+ format: z.literal('stacknext-snapshot'),
190
+ version: z.literal(1),
191
+ id: z.string().regex(/^snap-[0-9a-f]{16}$/, 'must look like snap-xxxxxxxxxxxxxxxx'),
192
+ createdAt: timestampSchema,
193
+ source: snapshotSourceSchema,
194
+ projectName: z.string().min(1).max(200),
195
+ collectorVersion: z.string().min(1).max(100),
196
+ label: z.string().min(1).max(200).optional(),
197
+ config: snapshotConfigSchema,
198
+ sample: snapshotSampleSchema,
199
+ spans: z.array(storedSpanSchema).max(MAX_SNAPSHOT_RECORDS),
200
+ errors: z.array(storedErrorSchema).max(MAX_SNAPSHOT_RECORDS),
201
+ databaseQueries: z.array(storedDatabaseQuerySchema).max(MAX_SNAPSHOT_RECORDS),
202
+ stats: snapshotStatsSchema,
203
+ limitations: z.array(z.string().max(2_000)).max(50),
204
+ })
205
+ .strict();
206
+ /** Accepts a raw StackNext export as an import source. */
207
+ export const snapshotImportSchema = z
208
+ .object({
209
+ format: z.literal('stacknext-export'),
210
+ version: z.literal(1),
211
+ exportedAt: timestampSchema,
212
+ projectName: z.string().min(1).max(200),
213
+ collectorVersion: z.string().min(1).max(100),
214
+ config: snapshotConfigSchema,
215
+ spans: z.array(storedSpanSchema).max(MAX_SNAPSHOT_RECORDS),
216
+ errors: z.array(storedErrorSchema).max(MAX_SNAPSHOT_RECORDS),
217
+ databaseQueries: z.array(storedDatabaseQuerySchema).max(MAX_SNAPSHOT_RECORDS),
218
+ stats: snapshotStatsSchema,
219
+ diagnostics: z.unknown().optional(),
220
+ limitations: z.array(z.string().max(2_000)).max(100),
221
+ })
222
+ .strict();
116
223
  //# sourceMappingURL=schema.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EACL,gBAAgB,EAChB,UAAU,EACV,aAAa,GACd,MAAM,YAAY,CAAA;AAEnB,MAAM,QAAQ,GAAG,CAAC,MAAc,EAAE,EAAE,CAClC,CAAC;KACE,MAAM,E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