@uploadista/observability 0.0.20-beta.7 → 0.0.20-beta.9
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/index.cjs +1 -1
- package/dist/index.d.cts +253 -253
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +261 -261
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -8
- package/src/upload/errors.ts +2 -2
- package/src/upload/layers.ts +4 -4
- package/src/upload/metrics.ts +3 -3
- package/src/upload/testing.ts +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Context, Effect, Layer, Logger, Metric, Option, Tracer } from "effect";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as effect_MetricKeyType15 from "effect/MetricKeyType";
|
|
3
|
+
import * as effect_MetricState15 from "effect/MetricState";
|
|
4
4
|
import { OTLPLogExporter, OTLPLogExporter as OTLPLogExporter$1 } from "@opentelemetry/exporter-logs-otlp-http";
|
|
5
5
|
import { OTLPMetricExporter, OTLPMetricExporter as OTLPMetricExporter$1 } from "@opentelemetry/exporter-metrics-otlp-http";
|
|
6
6
|
import { OTLPTraceExporter } from "@opentelemetry/exporter-trace-otlp-http";
|
|
7
7
|
import { BatchLogRecordProcessor, LoggerProvider, LoggerProvider as LoggerProvider$1 } from "@opentelemetry/sdk-logs";
|
|
8
8
|
import { MeterProvider, MeterProvider as MeterProvider$1, PeriodicExportingMetricReader } from "@opentelemetry/sdk-metrics";
|
|
9
|
-
import * as _effect_opentelemetry_Resource7 from "@effect/opentelemetry/Resource";
|
|
10
|
-
import { Meter } from "@opentelemetry/api";
|
|
11
9
|
import { Logger as Logger$1, SeverityNumber, SeverityNumber as SeverityNumber$1 } from "@opentelemetry/api-logs";
|
|
12
|
-
import
|
|
10
|
+
import { Meter } from "@opentelemetry/api";
|
|
11
|
+
import * as _effect_opentelemetry_Resource7 from "@effect/opentelemetry/Resource";
|
|
12
|
+
import * as effect_Metric49 from "effect/Metric";
|
|
13
13
|
|
|
14
14
|
//#region src/core/metrics.d.ts
|
|
15
15
|
declare const createUploadMetrics: (storageType: string) => {
|
|
@@ -20,10 +20,10 @@ declare const createUploadMetrics: (storageType: string) => {
|
|
|
20
20
|
apiCallsTotal: Metric.Metric.Counter<number>;
|
|
21
21
|
};
|
|
22
22
|
declare const createUploadHistograms: (storageType: string) => {
|
|
23
|
-
uploadDurationHistogram: Metric.Metric<
|
|
24
|
-
partUploadDurationHistogram: Metric.Metric<
|
|
25
|
-
fileSizeHistogram: Metric.Metric<
|
|
26
|
-
partSizeHistogram: Metric.Metric<
|
|
23
|
+
uploadDurationHistogram: Metric.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
24
|
+
partUploadDurationHistogram: Metric.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
25
|
+
fileSizeHistogram: Metric.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
26
|
+
partSizeHistogram: Metric.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
27
27
|
};
|
|
28
28
|
declare const createUploadGauges: (storageType: string) => {
|
|
29
29
|
activeUploadsGauge: Metric.Metric.Gauge<number>;
|
|
@@ -36,10 +36,10 @@ declare const createStorageMetrics: (storageType: string) => {
|
|
|
36
36
|
uploadLatencySummary: Metric.Metric.Summary<number>;
|
|
37
37
|
activeUploadsGauge: Metric.Metric.Gauge<number>;
|
|
38
38
|
uploadThroughputGauge: Metric.Metric.Gauge<number>;
|
|
39
|
-
uploadDurationHistogram: Metric.Metric<
|
|
40
|
-
partUploadDurationHistogram: Metric.Metric<
|
|
41
|
-
fileSizeHistogram: Metric.Metric<
|
|
42
|
-
partSizeHistogram: Metric.Metric<
|
|
39
|
+
uploadDurationHistogram: Metric.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
40
|
+
partUploadDurationHistogram: Metric.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
41
|
+
fileSizeHistogram: Metric.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
42
|
+
partSizeHistogram: Metric.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
43
43
|
uploadRequestsTotal: Metric.Metric.Counter<number>;
|
|
44
44
|
uploadPartsTotal: Metric.Metric.Counter<number>;
|
|
45
45
|
uploadSuccessTotal: Metric.Metric.Counter<number>;
|
|
@@ -262,146 +262,6 @@ declare function getLogsExportInterval(configInterval?: number): number;
|
|
|
262
262
|
*/
|
|
263
263
|
declare function createOtlpLoggerProvider(config?: LogsSdkConfig): LoggerProvider$1;
|
|
264
264
|
//#endregion
|
|
265
|
-
//#region src/core/metrics-sdk.d.ts
|
|
266
|
-
/**
|
|
267
|
-
* OpenTelemetry Meter service for recording metrics.
|
|
268
|
-
*/
|
|
269
|
-
interface OtelMeterService {
|
|
270
|
-
/** The OpenTelemetry Meter instance */
|
|
271
|
-
readonly meter: Meter;
|
|
272
|
-
/** The MeterProvider for shutdown handling */
|
|
273
|
-
readonly provider: MeterProvider$1;
|
|
274
|
-
}
|
|
275
|
-
declare const OtelMeter_base: Context.TagClass<OtelMeter, "OtelMeter", OtelMeterService>;
|
|
276
|
-
/**
|
|
277
|
-
* Effect Context tag for the OTEL Meter service.
|
|
278
|
-
*/
|
|
279
|
-
declare class OtelMeter extends OtelMeter_base {}
|
|
280
|
-
/**
|
|
281
|
-
* Node.js OTLP Metrics SDK Layer for production use.
|
|
282
|
-
*
|
|
283
|
-
* Exports metrics to an OTLP-compatible endpoint configured via environment variables.
|
|
284
|
-
*
|
|
285
|
-
* @example
|
|
286
|
-
* ```typescript
|
|
287
|
-
* import { OtlpMetricsNodeSdkLive, OtelMeter } from "@uploadista/observability";
|
|
288
|
-
* import { Effect } from "effect";
|
|
289
|
-
*
|
|
290
|
-
* const program = Effect.gen(function* () {
|
|
291
|
-
* const { meter } = yield* OtelMeter;
|
|
292
|
-
* const counter = meter.createCounter("uploads_total");
|
|
293
|
-
* counter.add(1, { storage: "s3" });
|
|
294
|
-
* }).pipe(Effect.provide(OtlpMetricsNodeSdkLive));
|
|
295
|
-
* ```
|
|
296
|
-
*/
|
|
297
|
-
declare const OtlpMetricsNodeSdkLive: Layer.Layer<OtelMeter, never, never>;
|
|
298
|
-
/**
|
|
299
|
-
* Creates a customized OTLP Metrics Node.js SDK Layer.
|
|
300
|
-
*
|
|
301
|
-
* @param config - Custom configuration options
|
|
302
|
-
* @returns Configured Effect Layer
|
|
303
|
-
*
|
|
304
|
-
* @example
|
|
305
|
-
* ```typescript
|
|
306
|
-
* const customMetrics = createOtlpMetricsNodeSdkLayer({
|
|
307
|
-
* serviceName: "my-upload-service",
|
|
308
|
-
* exportIntervalMillis: 30000, // Export every 30 seconds
|
|
309
|
-
* });
|
|
310
|
-
* ```
|
|
311
|
-
*/
|
|
312
|
-
declare function createOtlpMetricsNodeSdkLayer(config?: MetricsSdkConfig): Layer.Layer<OtelMeter, never, never>;
|
|
313
|
-
/**
|
|
314
|
-
* Browser OTLP Metrics SDK Layer for production use.
|
|
315
|
-
*
|
|
316
|
-
* Uses the same OTLP HTTP exporter, suitable for browser environments.
|
|
317
|
-
* Note: Browser environments may have CORS restrictions.
|
|
318
|
-
*
|
|
319
|
-
* @example
|
|
320
|
-
* ```typescript
|
|
321
|
-
* import { OtlpMetricsWebSdkLive } from "@uploadista/observability";
|
|
322
|
-
*
|
|
323
|
-
* const program = myEffect.pipe(Effect.provide(OtlpMetricsWebSdkLive));
|
|
324
|
-
* ```
|
|
325
|
-
*/
|
|
326
|
-
declare const OtlpMetricsWebSdkLive: Layer.Layer<OtelMeter, never, never>;
|
|
327
|
-
/**
|
|
328
|
-
* Creates a customized OTLP Metrics Web SDK Layer.
|
|
329
|
-
*
|
|
330
|
-
* @param config - Custom configuration options
|
|
331
|
-
* @returns Configured Effect Layer for browser environments
|
|
332
|
-
*/
|
|
333
|
-
declare function createOtlpMetricsWebSdkLayer(config?: MetricsSdkConfig): Layer.Layer<OtelMeter, never, never>;
|
|
334
|
-
/**
|
|
335
|
-
* Cloudflare Workers OTLP Metrics SDK Layer for production use.
|
|
336
|
-
*
|
|
337
|
-
* Pre-configured with Workers-appropriate defaults.
|
|
338
|
-
*
|
|
339
|
-
* @example
|
|
340
|
-
* ```typescript
|
|
341
|
-
* import { OtlpMetricsWorkersSdkLive } from "@uploadista/observability";
|
|
342
|
-
*
|
|
343
|
-
* export default {
|
|
344
|
-
* async fetch(request, env) {
|
|
345
|
-
* const program = handleRequest(request).pipe(
|
|
346
|
-
* Effect.provide(OtlpMetricsWorkersSdkLive)
|
|
347
|
-
* );
|
|
348
|
-
* return Effect.runPromise(program);
|
|
349
|
-
* }
|
|
350
|
-
* };
|
|
351
|
-
* ```
|
|
352
|
-
*/
|
|
353
|
-
declare const OtlpMetricsWorkersSdkLive: Layer.Layer<OtelMeter, never, never>;
|
|
354
|
-
/**
|
|
355
|
-
* Creates a customized OTLP Metrics Workers SDK Layer.
|
|
356
|
-
*
|
|
357
|
-
* @param config - Custom configuration options
|
|
358
|
-
* @returns Configured Effect Layer for Cloudflare Workers
|
|
359
|
-
*/
|
|
360
|
-
declare function createOtlpMetricsWorkersSdkLayer(config?: MetricsSdkConfig): Layer.Layer<OtelMeter, never, never>;
|
|
361
|
-
/**
|
|
362
|
-
* Records a counter metric using the OTEL Meter from context.
|
|
363
|
-
*
|
|
364
|
-
* @param name - Counter name
|
|
365
|
-
* @param value - Value to add (default: 1)
|
|
366
|
-
* @param attributes - Optional metric attributes
|
|
367
|
-
* @returns Effect that records the counter
|
|
368
|
-
*
|
|
369
|
-
* @example
|
|
370
|
-
* ```typescript
|
|
371
|
-
* yield* recordCounter("uploads_total", 1, { storage: "s3" });
|
|
372
|
-
* ```
|
|
373
|
-
*/
|
|
374
|
-
declare const recordCounter: (name: string, value?: number, attributes?: Record<string, string | number | boolean>) => Effect.Effect<void, never, OtelMeter>;
|
|
375
|
-
/**
|
|
376
|
-
* Records a histogram metric using the OTEL Meter from context.
|
|
377
|
-
*
|
|
378
|
-
* @param name - Histogram name
|
|
379
|
-
* @param value - Value to record
|
|
380
|
-
* @param attributes - Optional metric attributes
|
|
381
|
-
* @returns Effect that records the histogram
|
|
382
|
-
*
|
|
383
|
-
* @example
|
|
384
|
-
* ```typescript
|
|
385
|
-
* yield* recordHistogram("upload_duration_seconds", 1.5, { storage: "s3" });
|
|
386
|
-
* ```
|
|
387
|
-
*/
|
|
388
|
-
declare const recordHistogram: (name: string, value: number, attributes?: Record<string, string | number | boolean>) => Effect.Effect<void, never, OtelMeter>;
|
|
389
|
-
/**
|
|
390
|
-
* Creates an observable gauge that reports the current value.
|
|
391
|
-
*
|
|
392
|
-
* @param name - Gauge name
|
|
393
|
-
* @param callback - Function that returns the current value
|
|
394
|
-
* @param attributes - Optional metric attributes
|
|
395
|
-
* @returns Effect that registers the gauge
|
|
396
|
-
*
|
|
397
|
-
* @example
|
|
398
|
-
* ```typescript
|
|
399
|
-
* let activeUploads = 0;
|
|
400
|
-
* yield* createGauge("active_uploads", () => activeUploads);
|
|
401
|
-
* ```
|
|
402
|
-
*/
|
|
403
|
-
declare const createGauge: (name: string, callback: () => number, attributes?: Record<string, string | number | boolean>) => Effect.Effect<void, never, OtelMeter>;
|
|
404
|
-
//#endregion
|
|
405
265
|
//#region src/core/logs-sdk.d.ts
|
|
406
266
|
/**
|
|
407
267
|
* OpenTelemetry Logger service for emitting logs.
|
|
@@ -589,6 +449,146 @@ declare const logError: (message: string, attributes?: Record<string, string | n
|
|
|
589
449
|
*/
|
|
590
450
|
declare const logFatal: (message: string, attributes?: Record<string, string | number | boolean>) => Effect.Effect<void, never, OtelLogger>;
|
|
591
451
|
//#endregion
|
|
452
|
+
//#region src/core/metrics-sdk.d.ts
|
|
453
|
+
/**
|
|
454
|
+
* OpenTelemetry Meter service for recording metrics.
|
|
455
|
+
*/
|
|
456
|
+
interface OtelMeterService {
|
|
457
|
+
/** The OpenTelemetry Meter instance */
|
|
458
|
+
readonly meter: Meter;
|
|
459
|
+
/** The MeterProvider for shutdown handling */
|
|
460
|
+
readonly provider: MeterProvider$1;
|
|
461
|
+
}
|
|
462
|
+
declare const OtelMeter_base: Context.TagClass<OtelMeter, "OtelMeter", OtelMeterService>;
|
|
463
|
+
/**
|
|
464
|
+
* Effect Context tag for the OTEL Meter service.
|
|
465
|
+
*/
|
|
466
|
+
declare class OtelMeter extends OtelMeter_base {}
|
|
467
|
+
/**
|
|
468
|
+
* Node.js OTLP Metrics SDK Layer for production use.
|
|
469
|
+
*
|
|
470
|
+
* Exports metrics to an OTLP-compatible endpoint configured via environment variables.
|
|
471
|
+
*
|
|
472
|
+
* @example
|
|
473
|
+
* ```typescript
|
|
474
|
+
* import { OtlpMetricsNodeSdkLive, OtelMeter } from "@uploadista/observability";
|
|
475
|
+
* import { Effect } from "effect";
|
|
476
|
+
*
|
|
477
|
+
* const program = Effect.gen(function* () {
|
|
478
|
+
* const { meter } = yield* OtelMeter;
|
|
479
|
+
* const counter = meter.createCounter("uploads_total");
|
|
480
|
+
* counter.add(1, { storage: "s3" });
|
|
481
|
+
* }).pipe(Effect.provide(OtlpMetricsNodeSdkLive));
|
|
482
|
+
* ```
|
|
483
|
+
*/
|
|
484
|
+
declare const OtlpMetricsNodeSdkLive: Layer.Layer<OtelMeter, never, never>;
|
|
485
|
+
/**
|
|
486
|
+
* Creates a customized OTLP Metrics Node.js SDK Layer.
|
|
487
|
+
*
|
|
488
|
+
* @param config - Custom configuration options
|
|
489
|
+
* @returns Configured Effect Layer
|
|
490
|
+
*
|
|
491
|
+
* @example
|
|
492
|
+
* ```typescript
|
|
493
|
+
* const customMetrics = createOtlpMetricsNodeSdkLayer({
|
|
494
|
+
* serviceName: "my-upload-service",
|
|
495
|
+
* exportIntervalMillis: 30000, // Export every 30 seconds
|
|
496
|
+
* });
|
|
497
|
+
* ```
|
|
498
|
+
*/
|
|
499
|
+
declare function createOtlpMetricsNodeSdkLayer(config?: MetricsSdkConfig): Layer.Layer<OtelMeter, never, never>;
|
|
500
|
+
/**
|
|
501
|
+
* Browser OTLP Metrics SDK Layer for production use.
|
|
502
|
+
*
|
|
503
|
+
* Uses the same OTLP HTTP exporter, suitable for browser environments.
|
|
504
|
+
* Note: Browser environments may have CORS restrictions.
|
|
505
|
+
*
|
|
506
|
+
* @example
|
|
507
|
+
* ```typescript
|
|
508
|
+
* import { OtlpMetricsWebSdkLive } from "@uploadista/observability";
|
|
509
|
+
*
|
|
510
|
+
* const program = myEffect.pipe(Effect.provide(OtlpMetricsWebSdkLive));
|
|
511
|
+
* ```
|
|
512
|
+
*/
|
|
513
|
+
declare const OtlpMetricsWebSdkLive: Layer.Layer<OtelMeter, never, never>;
|
|
514
|
+
/**
|
|
515
|
+
* Creates a customized OTLP Metrics Web SDK Layer.
|
|
516
|
+
*
|
|
517
|
+
* @param config - Custom configuration options
|
|
518
|
+
* @returns Configured Effect Layer for browser environments
|
|
519
|
+
*/
|
|
520
|
+
declare function createOtlpMetricsWebSdkLayer(config?: MetricsSdkConfig): Layer.Layer<OtelMeter, never, never>;
|
|
521
|
+
/**
|
|
522
|
+
* Cloudflare Workers OTLP Metrics SDK Layer for production use.
|
|
523
|
+
*
|
|
524
|
+
* Pre-configured with Workers-appropriate defaults.
|
|
525
|
+
*
|
|
526
|
+
* @example
|
|
527
|
+
* ```typescript
|
|
528
|
+
* import { OtlpMetricsWorkersSdkLive } from "@uploadista/observability";
|
|
529
|
+
*
|
|
530
|
+
* export default {
|
|
531
|
+
* async fetch(request, env) {
|
|
532
|
+
* const program = handleRequest(request).pipe(
|
|
533
|
+
* Effect.provide(OtlpMetricsWorkersSdkLive)
|
|
534
|
+
* );
|
|
535
|
+
* return Effect.runPromise(program);
|
|
536
|
+
* }
|
|
537
|
+
* };
|
|
538
|
+
* ```
|
|
539
|
+
*/
|
|
540
|
+
declare const OtlpMetricsWorkersSdkLive: Layer.Layer<OtelMeter, never, never>;
|
|
541
|
+
/**
|
|
542
|
+
* Creates a customized OTLP Metrics Workers SDK Layer.
|
|
543
|
+
*
|
|
544
|
+
* @param config - Custom configuration options
|
|
545
|
+
* @returns Configured Effect Layer for Cloudflare Workers
|
|
546
|
+
*/
|
|
547
|
+
declare function createOtlpMetricsWorkersSdkLayer(config?: MetricsSdkConfig): Layer.Layer<OtelMeter, never, never>;
|
|
548
|
+
/**
|
|
549
|
+
* Records a counter metric using the OTEL Meter from context.
|
|
550
|
+
*
|
|
551
|
+
* @param name - Counter name
|
|
552
|
+
* @param value - Value to add (default: 1)
|
|
553
|
+
* @param attributes - Optional metric attributes
|
|
554
|
+
* @returns Effect that records the counter
|
|
555
|
+
*
|
|
556
|
+
* @example
|
|
557
|
+
* ```typescript
|
|
558
|
+
* yield* recordCounter("uploads_total", 1, { storage: "s3" });
|
|
559
|
+
* ```
|
|
560
|
+
*/
|
|
561
|
+
declare const recordCounter: (name: string, value?: number, attributes?: Record<string, string | number | boolean>) => Effect.Effect<void, never, OtelMeter>;
|
|
562
|
+
/**
|
|
563
|
+
* Records a histogram metric using the OTEL Meter from context.
|
|
564
|
+
*
|
|
565
|
+
* @param name - Histogram name
|
|
566
|
+
* @param value - Value to record
|
|
567
|
+
* @param attributes - Optional metric attributes
|
|
568
|
+
* @returns Effect that records the histogram
|
|
569
|
+
*
|
|
570
|
+
* @example
|
|
571
|
+
* ```typescript
|
|
572
|
+
* yield* recordHistogram("upload_duration_seconds", 1.5, { storage: "s3" });
|
|
573
|
+
* ```
|
|
574
|
+
*/
|
|
575
|
+
declare const recordHistogram: (name: string, value: number, attributes?: Record<string, string | number | boolean>) => Effect.Effect<void, never, OtelMeter>;
|
|
576
|
+
/**
|
|
577
|
+
* Creates an observable gauge that reports the current value.
|
|
578
|
+
*
|
|
579
|
+
* @param name - Gauge name
|
|
580
|
+
* @param callback - Function that returns the current value
|
|
581
|
+
* @param attributes - Optional metric attributes
|
|
582
|
+
* @returns Effect that registers the gauge
|
|
583
|
+
*
|
|
584
|
+
* @example
|
|
585
|
+
* ```typescript
|
|
586
|
+
* let activeUploads = 0;
|
|
587
|
+
* yield* createGauge("active_uploads", () => activeUploads);
|
|
588
|
+
* ```
|
|
589
|
+
*/
|
|
590
|
+
declare const createGauge: (name: string, callback: () => number, attributes?: Record<string, string | number | boolean>) => Effect.Effect<void, never, OtelMeter>;
|
|
591
|
+
//#endregion
|
|
592
592
|
//#region src/core/types.d.ts
|
|
593
593
|
/**
|
|
594
594
|
* OpenTelemetry trace context types for distributed tracing.
|
|
@@ -905,7 +905,7 @@ interface FullObservabilityConfig {
|
|
|
905
905
|
* }).pipe(Effect.provide(OtlpFullObservabilityNodeSdkLive));
|
|
906
906
|
* ```
|
|
907
907
|
*/
|
|
908
|
-
declare const OtlpFullObservabilityNodeSdkLive: Layer.Layer<
|
|
908
|
+
declare const OtlpFullObservabilityNodeSdkLive: Layer.Layer<OtelLogger | OtelMeter | _effect_opentelemetry_Resource7.Resource, never, never>;
|
|
909
909
|
/**
|
|
910
910
|
* Creates a customized Full Observability Node.js SDK Layer.
|
|
911
911
|
*
|
|
@@ -922,7 +922,7 @@ declare const OtlpFullObservabilityNodeSdkLive: Layer.Layer<_effect_opentelemetr
|
|
|
922
922
|
* });
|
|
923
923
|
* ```
|
|
924
924
|
*/
|
|
925
|
-
declare function createOtlpFullObservabilityNodeSdkLayer(config?: FullObservabilityConfig): Layer.Layer<
|
|
925
|
+
declare function createOtlpFullObservabilityNodeSdkLayer(config?: FullObservabilityConfig): Layer.Layer<OtelLogger | OtelMeter | _effect_opentelemetry_Resource7.Resource, never, never>;
|
|
926
926
|
/**
|
|
927
927
|
* Browser Full Observability SDK Layer.
|
|
928
928
|
*
|
|
@@ -935,14 +935,14 @@ declare function createOtlpFullObservabilityNodeSdkLayer(config?: FullObservabil
|
|
|
935
935
|
* const program = myEffect.pipe(Effect.provide(OtlpFullObservabilityWebSdkLive));
|
|
936
936
|
* ```
|
|
937
937
|
*/
|
|
938
|
-
declare const OtlpFullObservabilityWebSdkLive: Layer.Layer<
|
|
938
|
+
declare const OtlpFullObservabilityWebSdkLive: Layer.Layer<OtelLogger | OtelMeter | _effect_opentelemetry_Resource7.Resource, never, never>;
|
|
939
939
|
/**
|
|
940
940
|
* Creates a customized Full Observability Web SDK Layer.
|
|
941
941
|
*
|
|
942
942
|
* @param config - Configuration for all three pillars
|
|
943
943
|
* @returns Combined Effect Layer for browser environments
|
|
944
944
|
*/
|
|
945
|
-
declare function createOtlpFullObservabilityWebSdkLayer(config?: FullObservabilityConfig): Layer.Layer<
|
|
945
|
+
declare function createOtlpFullObservabilityWebSdkLayer(config?: FullObservabilityConfig): Layer.Layer<OtelLogger | OtelMeter | _effect_opentelemetry_Resource7.Resource, never, never>;
|
|
946
946
|
/**
|
|
947
947
|
* Cloudflare Workers Full Observability SDK Layer.
|
|
948
948
|
*
|
|
@@ -962,14 +962,14 @@ declare function createOtlpFullObservabilityWebSdkLayer(config?: FullObservabili
|
|
|
962
962
|
* };
|
|
963
963
|
* ```
|
|
964
964
|
*/
|
|
965
|
-
declare const OtlpFullObservabilityWorkersSdkLive: Layer.Layer<
|
|
965
|
+
declare const OtlpFullObservabilityWorkersSdkLive: Layer.Layer<OtelLogger | OtelMeter | _effect_opentelemetry_Resource7.Resource, never, never>;
|
|
966
966
|
/**
|
|
967
967
|
* Creates a customized Full Observability Workers SDK Layer.
|
|
968
968
|
*
|
|
969
969
|
* @param config - Configuration for all three pillars
|
|
970
970
|
* @returns Combined Effect Layer for Cloudflare Workers
|
|
971
971
|
*/
|
|
972
|
-
declare function createOtlpFullObservabilityWorkersSdkLayer(config?: FullObservabilityConfig): Layer.Layer<
|
|
972
|
+
declare function createOtlpFullObservabilityWorkersSdkLayer(config?: FullObservabilityConfig): Layer.Layer<OtelLogger | OtelMeter | _effect_opentelemetry_Resource7.Resource, never, never>;
|
|
973
973
|
/**
|
|
974
974
|
* Runtime environment types.
|
|
975
975
|
*/
|
|
@@ -993,14 +993,14 @@ declare function detectEnvironment(): Environment;
|
|
|
993
993
|
* const program = myEffect.pipe(Effect.provide(OtlpAutoSdkLive));
|
|
994
994
|
* ```
|
|
995
995
|
*/
|
|
996
|
-
declare const OtlpAutoSdkLive: Layer.Layer<
|
|
996
|
+
declare const OtlpAutoSdkLive: Layer.Layer<OtelLogger | OtelMeter | _effect_opentelemetry_Resource7.Resource, never, never>;
|
|
997
997
|
/**
|
|
998
998
|
* Creates an auto-detecting Full Observability SDK Layer with custom config.
|
|
999
999
|
*
|
|
1000
1000
|
* @param config - Configuration for all three pillars
|
|
1001
1001
|
* @returns Auto-detecting combined Effect Layer
|
|
1002
1002
|
*/
|
|
1003
|
-
declare function createOtlpAutoSdkLayer(config?: FullObservabilityConfig): Layer.Layer<
|
|
1003
|
+
declare function createOtlpAutoSdkLayer(config?: FullObservabilityConfig): Layer.Layer<OtelLogger | OtelMeter | _effect_opentelemetry_Resource7.Resource, never, never>;
|
|
1004
1004
|
//#endregion
|
|
1005
1005
|
//#region src/core/layers.d.ts
|
|
1006
1006
|
/**
|
|
@@ -1238,10 +1238,10 @@ declare const createFlowMetrics: () => {
|
|
|
1238
1238
|
nodeSuccessTotal: Metric.Metric.Counter<number>;
|
|
1239
1239
|
nodeFailedTotal: Metric.Metric.Counter<number>;
|
|
1240
1240
|
nodeSkippedTotal: Metric.Metric.Counter<number>;
|
|
1241
|
-
flowDurationHistogram: Metric.Metric<
|
|
1242
|
-
nodeDurationHistogram: Metric.Metric<
|
|
1243
|
-
flowNodeCountHistogram: Metric.Metric<
|
|
1244
|
-
parallelNodesHistogram: Metric.Metric<
|
|
1241
|
+
flowDurationHistogram: Metric.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1242
|
+
nodeDurationHistogram: Metric.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1243
|
+
flowNodeCountHistogram: Metric.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1244
|
+
parallelNodesHistogram: Metric.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1245
1245
|
activeFlowsGauge: Metric.Metric.Gauge<number>;
|
|
1246
1246
|
activeNodesGauge: Metric.Metric.Gauge<number>;
|
|
1247
1247
|
pausedFlowsGauge: Metric.Metric.Gauge<number>;
|
|
@@ -1277,10 +1277,10 @@ declare const flowMetrics: {
|
|
|
1277
1277
|
nodeSuccessTotal: Metric.Metric.Counter<number>;
|
|
1278
1278
|
nodeFailedTotal: Metric.Metric.Counter<number>;
|
|
1279
1279
|
nodeSkippedTotal: Metric.Metric.Counter<number>;
|
|
1280
|
-
flowDurationHistogram: Metric.Metric<
|
|
1281
|
-
nodeDurationHistogram: Metric.Metric<
|
|
1282
|
-
flowNodeCountHistogram: Metric.Metric<
|
|
1283
|
-
parallelNodesHistogram: Metric.Metric<
|
|
1280
|
+
flowDurationHistogram: Metric.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1281
|
+
nodeDurationHistogram: Metric.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1282
|
+
flowNodeCountHistogram: Metric.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1283
|
+
parallelNodesHistogram: Metric.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1284
1284
|
activeFlowsGauge: Metric.Metric.Gauge<number>;
|
|
1285
1285
|
activeNodesGauge: Metric.Metric.Gauge<number>;
|
|
1286
1286
|
pausedFlowsGauge: Metric.Metric.Gauge<number>;
|
|
@@ -1433,18 +1433,18 @@ declare const NoOpMetricsServiceLive: Layer.Layer<MetricsService>;
|
|
|
1433
1433
|
//#endregion
|
|
1434
1434
|
//#region src/storage/azure.d.ts
|
|
1435
1435
|
declare const azureMetrics: {
|
|
1436
|
-
uploadLatencySummary:
|
|
1437
|
-
activeUploadsGauge:
|
|
1438
|
-
uploadThroughputGauge:
|
|
1439
|
-
uploadDurationHistogram:
|
|
1440
|
-
partUploadDurationHistogram:
|
|
1441
|
-
fileSizeHistogram:
|
|
1442
|
-
partSizeHistogram:
|
|
1443
|
-
uploadRequestsTotal:
|
|
1444
|
-
uploadPartsTotal:
|
|
1445
|
-
uploadSuccessTotal:
|
|
1446
|
-
uploadErrorsTotal:
|
|
1447
|
-
apiCallsTotal:
|
|
1436
|
+
uploadLatencySummary: effect_Metric49.Metric.Summary<number>;
|
|
1437
|
+
activeUploadsGauge: effect_Metric49.Metric.Gauge<number>;
|
|
1438
|
+
uploadThroughputGauge: effect_Metric49.Metric.Gauge<number>;
|
|
1439
|
+
uploadDurationHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1440
|
+
partUploadDurationHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1441
|
+
fileSizeHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1442
|
+
partSizeHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1443
|
+
uploadRequestsTotal: effect_Metric49.Metric.Counter<number>;
|
|
1444
|
+
uploadPartsTotal: effect_Metric49.Metric.Counter<number>;
|
|
1445
|
+
uploadSuccessTotal: effect_Metric49.Metric.Counter<number>;
|
|
1446
|
+
uploadErrorsTotal: effect_Metric49.Metric.Counter<number>;
|
|
1447
|
+
apiCallsTotal: effect_Metric49.Metric.Counter<number>;
|
|
1448
1448
|
};
|
|
1449
1449
|
declare const AzureTracingLayer: Layer.Layer<{
|
|
1450
1450
|
serviceName: string;
|
|
@@ -1455,7 +1455,7 @@ declare const AzureObservabilityLayer: Layer.Layer<{
|
|
|
1455
1455
|
}, never, never>;
|
|
1456
1456
|
declare const withAzureUploadMetrics: <A, E, R>(uploadId: string, effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
|
|
1457
1457
|
declare const withAzureApiMetrics: <A, E, R>(operation: string, effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
|
|
1458
|
-
declare const withAzureTimingMetrics: <A, E, R>(metric:
|
|
1458
|
+
declare const withAzureTimingMetrics: <A, E, R>(metric: effect_Metric49.Metric.Histogram<number>, effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
|
|
1459
1459
|
declare const withAzureOperationMetrics: <A, E, R>(operation: string, uploadId: string, effect: Effect.Effect<A, E, R>, fileSize?: number) => Effect.Effect<A, E, R>;
|
|
1460
1460
|
declare const withAzureSpan: <A, E, R>(operation: string, attributes?: Record<string, unknown>) => (effect: Effect.Effect<A, E, R>) => Effect.Effect<unknown, unknown, unknown>;
|
|
1461
1461
|
declare const logAzureOperation: (operation: string, uploadId: string, metadata?: Record<string, unknown> | undefined) => Effect.Effect<void, never, never>;
|
|
@@ -1474,23 +1474,23 @@ declare const logAzureUploadCompletion: (uploadId: string, metrics: {
|
|
|
1474
1474
|
retryCount?: number;
|
|
1475
1475
|
}) => Effect.Effect<void, never, never>;
|
|
1476
1476
|
declare const logAzureContext: (message: string, context: Record<string, unknown>) => Effect.Effect<void, never, never>;
|
|
1477
|
-
declare const azureUploadRequestsTotal:
|
|
1477
|
+
declare const azureUploadRequestsTotal: effect_Metric49.Metric.Counter<number>, azureUploadPartsTotal: effect_Metric49.Metric.Counter<number>, azureUploadSuccessTotal: effect_Metric49.Metric.Counter<number>, azureUploadErrorsTotal: effect_Metric49.Metric.Counter<number>, azureApiCallsTotal: effect_Metric49.Metric.Counter<number>, azureUploadDurationHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>, azurePartUploadDurationHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>, azureFileSizeHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>, azurePartSizeHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>, azureActiveUploadsGauge: effect_Metric49.Metric.Gauge<number>, azureUploadThroughputGauge: effect_Metric49.Metric.Gauge<number>, azureUploadLatencySummary: effect_Metric49.Metric.Summary<number>;
|
|
1478
1478
|
type AzureMetrics = StorageMetrics;
|
|
1479
1479
|
//#endregion
|
|
1480
1480
|
//#region src/storage/filesystem.d.ts
|
|
1481
1481
|
declare const filesystemMetrics: {
|
|
1482
|
-
uploadLatencySummary:
|
|
1483
|
-
activeUploadsGauge:
|
|
1484
|
-
uploadThroughputGauge:
|
|
1485
|
-
uploadDurationHistogram:
|
|
1486
|
-
partUploadDurationHistogram:
|
|
1487
|
-
fileSizeHistogram:
|
|
1488
|
-
partSizeHistogram:
|
|
1489
|
-
uploadRequestsTotal:
|
|
1490
|
-
uploadPartsTotal:
|
|
1491
|
-
uploadSuccessTotal:
|
|
1492
|
-
uploadErrorsTotal:
|
|
1493
|
-
apiCallsTotal:
|
|
1482
|
+
uploadLatencySummary: effect_Metric49.Metric.Summary<number>;
|
|
1483
|
+
activeUploadsGauge: effect_Metric49.Metric.Gauge<number>;
|
|
1484
|
+
uploadThroughputGauge: effect_Metric49.Metric.Gauge<number>;
|
|
1485
|
+
uploadDurationHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1486
|
+
partUploadDurationHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1487
|
+
fileSizeHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1488
|
+
partSizeHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1489
|
+
uploadRequestsTotal: effect_Metric49.Metric.Counter<number>;
|
|
1490
|
+
uploadPartsTotal: effect_Metric49.Metric.Counter<number>;
|
|
1491
|
+
uploadSuccessTotal: effect_Metric49.Metric.Counter<number>;
|
|
1492
|
+
uploadErrorsTotal: effect_Metric49.Metric.Counter<number>;
|
|
1493
|
+
apiCallsTotal: effect_Metric49.Metric.Counter<number>;
|
|
1494
1494
|
};
|
|
1495
1495
|
declare const FilesystemTracingLayer: Layer.Layer<{
|
|
1496
1496
|
serviceName: string;
|
|
@@ -1501,7 +1501,7 @@ declare const FilesystemObservabilityLayer: Layer.Layer<{
|
|
|
1501
1501
|
}, never, never>;
|
|
1502
1502
|
declare const withFilesystemUploadMetrics: <A, E, R>(uploadId: string, effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
|
|
1503
1503
|
declare const withFilesystemApiMetrics: <A, E, R>(operation: string, effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
|
|
1504
|
-
declare const withFilesystemTimingMetrics: <A, E, R>(metric:
|
|
1504
|
+
declare const withFilesystemTimingMetrics: <A, E, R>(metric: effect_Metric49.Metric.Histogram<number>, effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
|
|
1505
1505
|
declare const withFilesystemOperationMetrics: <A, E, R>(operation: string, uploadId: string, effect: Effect.Effect<A, E, R>, fileSize?: number) => Effect.Effect<A, E, R>;
|
|
1506
1506
|
declare const withFilesystemSpan: <A, E, R>(operation: string, attributes?: Record<string, unknown>) => (effect: Effect.Effect<A, E, R>) => Effect.Effect<unknown, unknown, unknown>;
|
|
1507
1507
|
declare const logFilesystemOperation: (operation: string, uploadId: string, metadata?: Record<string, unknown> | undefined) => Effect.Effect<void, never, never>;
|
|
@@ -1520,23 +1520,23 @@ declare const logFilesystemUploadCompletion: (uploadId: string, metrics: {
|
|
|
1520
1520
|
retryCount?: number;
|
|
1521
1521
|
}) => Effect.Effect<void, never, never>;
|
|
1522
1522
|
declare const logFilesystemContext: (message: string, context: Record<string, unknown>) => Effect.Effect<void, never, never>;
|
|
1523
|
-
declare const filesystemUploadRequestsTotal:
|
|
1523
|
+
declare const filesystemUploadRequestsTotal: effect_Metric49.Metric.Counter<number>, filesystemUploadPartsTotal: effect_Metric49.Metric.Counter<number>, filesystemUploadSuccessTotal: effect_Metric49.Metric.Counter<number>, filesystemUploadErrorsTotal: effect_Metric49.Metric.Counter<number>, filesystemApiCallsTotal: effect_Metric49.Metric.Counter<number>, filesystemUploadDurationHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>, filesystemPartUploadDurationHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>, filesystemFileSizeHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>, filesystemPartSizeHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>, filesystemActiveUploadsGauge: effect_Metric49.Metric.Gauge<number>, filesystemUploadThroughputGauge: effect_Metric49.Metric.Gauge<number>, filesystemUploadLatencySummary: effect_Metric49.Metric.Summary<number>;
|
|
1524
1524
|
type FilesystemMetrics = StorageMetrics;
|
|
1525
1525
|
//#endregion
|
|
1526
1526
|
//#region src/storage/gcs.d.ts
|
|
1527
1527
|
declare const gcsMetrics: {
|
|
1528
|
-
uploadLatencySummary:
|
|
1529
|
-
activeUploadsGauge:
|
|
1530
|
-
uploadThroughputGauge:
|
|
1531
|
-
uploadDurationHistogram:
|
|
1532
|
-
partUploadDurationHistogram:
|
|
1533
|
-
fileSizeHistogram:
|
|
1534
|
-
partSizeHistogram:
|
|
1535
|
-
uploadRequestsTotal:
|
|
1536
|
-
uploadPartsTotal:
|
|
1537
|
-
uploadSuccessTotal:
|
|
1538
|
-
uploadErrorsTotal:
|
|
1539
|
-
apiCallsTotal:
|
|
1528
|
+
uploadLatencySummary: effect_Metric49.Metric.Summary<number>;
|
|
1529
|
+
activeUploadsGauge: effect_Metric49.Metric.Gauge<number>;
|
|
1530
|
+
uploadThroughputGauge: effect_Metric49.Metric.Gauge<number>;
|
|
1531
|
+
uploadDurationHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1532
|
+
partUploadDurationHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1533
|
+
fileSizeHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1534
|
+
partSizeHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1535
|
+
uploadRequestsTotal: effect_Metric49.Metric.Counter<number>;
|
|
1536
|
+
uploadPartsTotal: effect_Metric49.Metric.Counter<number>;
|
|
1537
|
+
uploadSuccessTotal: effect_Metric49.Metric.Counter<number>;
|
|
1538
|
+
uploadErrorsTotal: effect_Metric49.Metric.Counter<number>;
|
|
1539
|
+
apiCallsTotal: effect_Metric49.Metric.Counter<number>;
|
|
1540
1540
|
};
|
|
1541
1541
|
declare const GCSTracingLayer: Layer.Layer<{
|
|
1542
1542
|
serviceName: string;
|
|
@@ -1547,7 +1547,7 @@ declare const GCSObservabilityLayer: Layer.Layer<{
|
|
|
1547
1547
|
}, never, never>;
|
|
1548
1548
|
declare const withGCSUploadMetrics: <A, E, R>(uploadId: string, effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
|
|
1549
1549
|
declare const withGCSApiMetrics: <A, E, R>(operation: string, effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
|
|
1550
|
-
declare const withGCSTimingMetrics: <A, E, R>(metric:
|
|
1550
|
+
declare const withGCSTimingMetrics: <A, E, R>(metric: effect_Metric49.Metric.Histogram<number>, effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
|
|
1551
1551
|
declare const withGCSOperationMetrics: <A, E, R>(operation: string, uploadId: string, effect: Effect.Effect<A, E, R>, fileSize?: number) => Effect.Effect<A, E, R>;
|
|
1552
1552
|
declare const withGCSSpan: <A, E, R>(operation: string, attributes?: Record<string, unknown>) => (effect: Effect.Effect<A, E, R>) => Effect.Effect<unknown, unknown, unknown>;
|
|
1553
1553
|
declare const logGCSOperation: (operation: string, uploadId: string, metadata?: Record<string, unknown> | undefined) => Effect.Effect<void, never, never>;
|
|
@@ -1566,23 +1566,23 @@ declare const logGCSUploadCompletion: (uploadId: string, metrics: {
|
|
|
1566
1566
|
retryCount?: number;
|
|
1567
1567
|
}) => Effect.Effect<void, never, never>;
|
|
1568
1568
|
declare const logGCSContext: (message: string, context: Record<string, unknown>) => Effect.Effect<void, never, never>;
|
|
1569
|
-
declare const gcsUploadRequestsTotal:
|
|
1569
|
+
declare const gcsUploadRequestsTotal: effect_Metric49.Metric.Counter<number>, gcsUploadPartsTotal: effect_Metric49.Metric.Counter<number>, gcsUploadSuccessTotal: effect_Metric49.Metric.Counter<number>, gcsUploadErrorsTotal: effect_Metric49.Metric.Counter<number>, gcsApiCallsTotal: effect_Metric49.Metric.Counter<number>, gcsUploadDurationHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>, gcsPartUploadDurationHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>, gcsFileSizeHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>, gcsPartSizeHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>, gcsActiveUploadsGauge: effect_Metric49.Metric.Gauge<number>, gcsUploadThroughputGauge: effect_Metric49.Metric.Gauge<number>, gcsUploadLatencySummary: effect_Metric49.Metric.Summary<number>;
|
|
1570
1570
|
type GCSMetrics = StorageMetrics;
|
|
1571
1571
|
//#endregion
|
|
1572
1572
|
//#region src/storage/s3.d.ts
|
|
1573
1573
|
declare const s3Metrics: {
|
|
1574
|
-
uploadLatencySummary:
|
|
1575
|
-
activeUploadsGauge:
|
|
1576
|
-
uploadThroughputGauge:
|
|
1577
|
-
uploadDurationHistogram:
|
|
1578
|
-
partUploadDurationHistogram:
|
|
1579
|
-
fileSizeHistogram:
|
|
1580
|
-
partSizeHistogram:
|
|
1581
|
-
uploadRequestsTotal:
|
|
1582
|
-
uploadPartsTotal:
|
|
1583
|
-
uploadSuccessTotal:
|
|
1584
|
-
uploadErrorsTotal:
|
|
1585
|
-
apiCallsTotal:
|
|
1574
|
+
uploadLatencySummary: effect_Metric49.Metric.Summary<number>;
|
|
1575
|
+
activeUploadsGauge: effect_Metric49.Metric.Gauge<number>;
|
|
1576
|
+
uploadThroughputGauge: effect_Metric49.Metric.Gauge<number>;
|
|
1577
|
+
uploadDurationHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1578
|
+
partUploadDurationHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1579
|
+
fileSizeHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1580
|
+
partSizeHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1581
|
+
uploadRequestsTotal: effect_Metric49.Metric.Counter<number>;
|
|
1582
|
+
uploadPartsTotal: effect_Metric49.Metric.Counter<number>;
|
|
1583
|
+
uploadSuccessTotal: effect_Metric49.Metric.Counter<number>;
|
|
1584
|
+
uploadErrorsTotal: effect_Metric49.Metric.Counter<number>;
|
|
1585
|
+
apiCallsTotal: effect_Metric49.Metric.Counter<number>;
|
|
1586
1586
|
};
|
|
1587
1587
|
declare const S3TracingLayer: Layer.Layer<{
|
|
1588
1588
|
serviceName: string;
|
|
@@ -1593,7 +1593,7 @@ declare const S3ObservabilityLayer: Layer.Layer<{
|
|
|
1593
1593
|
}, never, never>;
|
|
1594
1594
|
declare const withS3UploadMetrics: <A, E, R>(uploadId: string, effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
|
|
1595
1595
|
declare const withS3ApiMetrics: <A, E, R>(operation: string, effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
|
|
1596
|
-
declare const withS3TimingMetrics: <A, E, R>(metric:
|
|
1596
|
+
declare const withS3TimingMetrics: <A, E, R>(metric: effect_Metric49.Metric.Histogram<number>, effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
|
|
1597
1597
|
declare const withS3OperationMetrics: <A, E, R>(operation: string, uploadId: string, effect: Effect.Effect<A, E, R>, fileSize?: number) => Effect.Effect<A, E, R>;
|
|
1598
1598
|
declare const withS3Span: <A, E, R>(operation: string, attributes?: Record<string, unknown>) => (effect: Effect.Effect<A, E, R>) => Effect.Effect<unknown, unknown, unknown>;
|
|
1599
1599
|
declare const logS3Operation: (operation: string, uploadId: string, metadata?: Record<string, unknown> | undefined) => Effect.Effect<void, never, never>;
|
|
@@ -1612,14 +1612,14 @@ declare const logS3UploadCompletion: (uploadId: string, metrics: {
|
|
|
1612
1612
|
retryCount?: number;
|
|
1613
1613
|
}) => Effect.Effect<void, never, never>;
|
|
1614
1614
|
declare const logS3Context: (message: string, context: Record<string, unknown>) => Effect.Effect<void, never, never>;
|
|
1615
|
-
declare const s3UploadRequestsTotal:
|
|
1615
|
+
declare const s3UploadRequestsTotal: effect_Metric49.Metric.Counter<number>, s3UploadPartsTotal: effect_Metric49.Metric.Counter<number>, s3UploadSuccessTotal: effect_Metric49.Metric.Counter<number>, s3UploadErrorsTotal: effect_Metric49.Metric.Counter<number>, s3ApiCallsTotal: effect_Metric49.Metric.Counter<number>, s3UploadDurationHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>, s3PartUploadDurationHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>, s3FileSizeHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>, s3PartSizeHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>, s3ActiveUploadsGauge: effect_Metric49.Metric.Gauge<number>, s3UploadThroughputGauge: effect_Metric49.Metric.Gauge<number>, s3UploadLatencySummary: effect_Metric49.Metric.Summary<number>;
|
|
1616
1616
|
type S3Metrics = StorageMetrics;
|
|
1617
1617
|
//#endregion
|
|
1618
1618
|
//#region src/upload/metrics.d.ts
|
|
1619
1619
|
/**
|
|
1620
1620
|
* Upload server metrics for tracking upload operations
|
|
1621
1621
|
*/
|
|
1622
|
-
declare const
|
|
1622
|
+
declare const createUploadEngineMetrics: () => {
|
|
1623
1623
|
uploadCreatedTotal: Metric.Metric.Counter<number>;
|
|
1624
1624
|
uploadCompletedTotal: Metric.Metric.Counter<number>;
|
|
1625
1625
|
uploadFailedTotal: Metric.Metric.Counter<number>;
|
|
@@ -1627,10 +1627,10 @@ declare const createUploadServerMetrics: () => {
|
|
|
1627
1627
|
uploadFromUrlTotal: Metric.Metric.Counter<number>;
|
|
1628
1628
|
uploadFromUrlSuccessTotal: Metric.Metric.Counter<number>;
|
|
1629
1629
|
uploadFromUrlFailedTotal: Metric.Metric.Counter<number>;
|
|
1630
|
-
uploadDurationHistogram: Metric.Metric<
|
|
1631
|
-
chunkUploadDurationHistogram: Metric.Metric<
|
|
1632
|
-
uploadFileSizeHistogram: Metric.Metric<
|
|
1633
|
-
chunkSizeHistogram: Metric.Metric<
|
|
1630
|
+
uploadDurationHistogram: Metric.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1631
|
+
chunkUploadDurationHistogram: Metric.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1632
|
+
uploadFileSizeHistogram: Metric.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1633
|
+
chunkSizeHistogram: Metric.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1634
1634
|
activeUploadsGauge: Metric.Metric.Gauge<number>;
|
|
1635
1635
|
uploadThroughputGauge: Metric.Metric.Gauge<number>;
|
|
1636
1636
|
uploadLatencySummary: Metric.Metric.Summary<number>;
|
|
@@ -1639,11 +1639,11 @@ declare const createUploadServerMetrics: () => {
|
|
|
1639
1639
|
/**
|
|
1640
1640
|
* Type for upload server metrics
|
|
1641
1641
|
*/
|
|
1642
|
-
type
|
|
1642
|
+
type UploadEngineMetrics = ReturnType<typeof createUploadEngineMetrics>;
|
|
1643
1643
|
/**
|
|
1644
1644
|
* Default upload server metrics instance
|
|
1645
1645
|
*/
|
|
1646
|
-
declare const
|
|
1646
|
+
declare const uploadEngineMetrics: {
|
|
1647
1647
|
uploadCreatedTotal: Metric.Metric.Counter<number>;
|
|
1648
1648
|
uploadCompletedTotal: Metric.Metric.Counter<number>;
|
|
1649
1649
|
uploadFailedTotal: Metric.Metric.Counter<number>;
|
|
@@ -1651,10 +1651,10 @@ declare const uploadServerMetrics: {
|
|
|
1651
1651
|
uploadFromUrlTotal: Metric.Metric.Counter<number>;
|
|
1652
1652
|
uploadFromUrlSuccessTotal: Metric.Metric.Counter<number>;
|
|
1653
1653
|
uploadFromUrlFailedTotal: Metric.Metric.Counter<number>;
|
|
1654
|
-
uploadDurationHistogram: Metric.Metric<
|
|
1655
|
-
chunkUploadDurationHistogram: Metric.Metric<
|
|
1656
|
-
uploadFileSizeHistogram: Metric.Metric<
|
|
1657
|
-
chunkSizeHistogram: Metric.Metric<
|
|
1654
|
+
uploadDurationHistogram: Metric.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1655
|
+
chunkUploadDurationHistogram: Metric.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1656
|
+
uploadFileSizeHistogram: Metric.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1657
|
+
chunkSizeHistogram: Metric.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1658
1658
|
activeUploadsGauge: Metric.Metric.Gauge<number>;
|
|
1659
1659
|
uploadThroughputGauge: Metric.Metric.Gauge<number>;
|
|
1660
1660
|
uploadLatencySummary: Metric.Metric.Summary<number>;
|
|
@@ -1670,7 +1670,7 @@ declare const classifyUploadError: (error: unknown) => UploadErrorCategory;
|
|
|
1670
1670
|
/**
|
|
1671
1671
|
* Track upload errors with metrics and structured logging
|
|
1672
1672
|
*/
|
|
1673
|
-
declare const trackUploadError: (metrics:
|
|
1673
|
+
declare const trackUploadError: (metrics: UploadEngineMetrics, operation: string, error: unknown, context?: Record<string, unknown>) => Effect.Effect<void, never, never>;
|
|
1674
1674
|
/**
|
|
1675
1675
|
* Create a custom error classifier for upload operations
|
|
1676
1676
|
*/
|
|
@@ -1713,21 +1713,21 @@ declare const UploadObservabilityTest: Layer.Layer<UploadObservability, never, n
|
|
|
1713
1713
|
* Get metrics for validation (useful for testing metric definitions)
|
|
1714
1714
|
*/
|
|
1715
1715
|
declare const getTestMetrics: () => {
|
|
1716
|
-
uploadCreatedTotal:
|
|
1717
|
-
uploadCompletedTotal:
|
|
1718
|
-
uploadFailedTotal:
|
|
1719
|
-
chunkUploadedTotal:
|
|
1720
|
-
uploadFromUrlTotal:
|
|
1721
|
-
uploadFromUrlSuccessTotal:
|
|
1722
|
-
uploadFromUrlFailedTotal:
|
|
1723
|
-
uploadDurationHistogram:
|
|
1724
|
-
chunkUploadDurationHistogram:
|
|
1725
|
-
uploadFileSizeHistogram:
|
|
1726
|
-
chunkSizeHistogram:
|
|
1727
|
-
activeUploadsGauge:
|
|
1728
|
-
uploadThroughputGauge:
|
|
1729
|
-
uploadLatencySummary:
|
|
1730
|
-
chunkLatencySummary:
|
|
1716
|
+
uploadCreatedTotal: effect_Metric49.Metric.Counter<number>;
|
|
1717
|
+
uploadCompletedTotal: effect_Metric49.Metric.Counter<number>;
|
|
1718
|
+
uploadFailedTotal: effect_Metric49.Metric.Counter<number>;
|
|
1719
|
+
chunkUploadedTotal: effect_Metric49.Metric.Counter<number>;
|
|
1720
|
+
uploadFromUrlTotal: effect_Metric49.Metric.Counter<number>;
|
|
1721
|
+
uploadFromUrlSuccessTotal: effect_Metric49.Metric.Counter<number>;
|
|
1722
|
+
uploadFromUrlFailedTotal: effect_Metric49.Metric.Counter<number>;
|
|
1723
|
+
uploadDurationHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1724
|
+
chunkUploadDurationHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1725
|
+
uploadFileSizeHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1726
|
+
chunkSizeHistogram: effect_Metric49.Metric<effect_MetricKeyType15.MetricKeyType.Histogram, number, effect_MetricState15.MetricState.Histogram>;
|
|
1727
|
+
activeUploadsGauge: effect_Metric49.Metric.Gauge<number>;
|
|
1728
|
+
uploadThroughputGauge: effect_Metric49.Metric.Gauge<number>;
|
|
1729
|
+
uploadLatencySummary: effect_Metric49.Metric.Summary<number>;
|
|
1730
|
+
chunkLatencySummary: effect_Metric49.Metric.Summary<number>;
|
|
1731
1731
|
};
|
|
1732
1732
|
/**
|
|
1733
1733
|
* Validate that all required metrics exist
|
|
@@ -1759,5 +1759,5 @@ declare const withChunkContext: (context: {
|
|
|
1759
1759
|
totalSize?: number;
|
|
1760
1760
|
}) => Effect.Effect<void, never, never>;
|
|
1761
1761
|
//#endregion
|
|
1762
|
-
export { AzureMetrics, AzureObservabilityLayer, AzureTracingLayer, BatchLogRecordProcessor, CircuitBreakerTracingState, Environment, FilesystemMetrics, FilesystemObservabilityLayer, FilesystemTracingLayer, FlowErrorCategory, FlowMetrics, FlowObservability, FlowObservabilityDisabled, FlowObservabilityLive, FlowObservabilityService, FullObservabilityConfig, GCSMetrics, GCSObservabilityLayer, GCSTracingLayer, LoggerProvider, LogsLayerConfig, LogsSdkConfig, MeterProvider, MetricsSdkConfig, MetricsService, NoOpMetricsServiceLive, NodeSdkLive, OTLPLogExporter, OTLPMetricExporter, Observability, ObservabilityDisabled, ObservabilityService, ObservabilityTestFixture, OperationDomain, OtelLogger, OtelLoggerService, OtelMeter, OtelMeterService, OtlpAutoSdkLive, OtlpExporterConfig, OtlpFullObservabilityNodeSdkLive, OtlpFullObservabilityWebSdkLive, OtlpFullObservabilityWorkersSdkLive, OtlpLogsNodeSdkLive, OtlpLogsWebSdkLive, OtlpLogsWorkersSdkLive, OtlpMetricsNodeSdkLive, OtlpMetricsWebSdkLive, OtlpMetricsWorkersSdkLive, OtlpNodeSdkLive, OtlpSdkConfig, OtlpWebSdkLive, OtlpWorkersSdkLive, PeriodicExportingMetricReader, S3Metrics, S3ObservabilityLayer, S3TracingLayer, SeverityNumber, StorageErrorCategory, StorageMetrics, StorageObservability, StorageObservabilityDisabled, StorageObservabilityService, TraceContext, TracingService, UploadErrorCategory, UploadObservability, UploadObservabilityDisabled, UploadObservabilityLive, UploadObservabilityService, UploadObservabilityTest,
|
|
1762
|
+
export { AzureMetrics, AzureObservabilityLayer, AzureTracingLayer, BatchLogRecordProcessor, CircuitBreakerTracingState, Environment, FilesystemMetrics, FilesystemObservabilityLayer, FilesystemTracingLayer, FlowErrorCategory, FlowMetrics, FlowObservability, FlowObservabilityDisabled, FlowObservabilityLive, FlowObservabilityService, FullObservabilityConfig, GCSMetrics, GCSObservabilityLayer, GCSTracingLayer, LoggerProvider, LogsLayerConfig, LogsSdkConfig, MeterProvider, MetricsSdkConfig, MetricsService, NoOpMetricsServiceLive, NodeSdkLive, OTLPLogExporter, OTLPMetricExporter, Observability, ObservabilityDisabled, ObservabilityService, ObservabilityTestFixture, OperationDomain, OtelLogger, OtelLoggerService, OtelMeter, OtelMeterService, OtlpAutoSdkLive, OtlpExporterConfig, OtlpFullObservabilityNodeSdkLive, OtlpFullObservabilityWebSdkLive, OtlpFullObservabilityWorkersSdkLive, OtlpLogsNodeSdkLive, OtlpLogsWebSdkLive, OtlpLogsWorkersSdkLive, OtlpMetricsNodeSdkLive, OtlpMetricsWebSdkLive, OtlpMetricsWorkersSdkLive, OtlpNodeSdkLive, OtlpSdkConfig, OtlpWebSdkLive, OtlpWorkersSdkLive, PeriodicExportingMetricReader, S3Metrics, S3ObservabilityLayer, S3TracingLayer, SeverityNumber, StorageErrorCategory, StorageMetrics, StorageObservability, StorageObservabilityDisabled, StorageObservabilityService, TraceContext, TracingService, UploadEngineMetrics, UploadErrorCategory, UploadObservability, UploadObservabilityDisabled, UploadObservabilityLive, UploadObservabilityService, UploadObservabilityTest, WebSdkLive, WorkersSdkLive, annotateCircuitBreakerStateChange, azureActiveUploadsGauge, azureApiCallsTotal, azureFileSizeHistogram, azureMetrics, azurePartSizeHistogram, azurePartUploadDurationHistogram, azureUploadDurationHistogram, azureUploadErrorsTotal, azureUploadLatencySummary, azureUploadPartsTotal, azureUploadRequestsTotal, azureUploadSuccessTotal, azureUploadThroughputGauge, captureMetrics, captureTraceContext, captureTraceContextEffect, classifyFlowError, classifyStorageError, classifyUploadError, createExternalSpan, createFlowMetrics, createGauge, createOtlpAutoSdkLayer, createOtlpEffectLogger, createOtlpFullObservabilityNodeSdkLayer, createOtlpFullObservabilityWebSdkLayer, createOtlpFullObservabilityWorkersSdkLayer, createOtlpLogExporter, createOtlpLoggerProvider, createOtlpLogsNodeSdkLayer, createOtlpLogsWebSdkLayer, createOtlpLogsWorkersSdkLayer, createOtlpMeterProvider, createOtlpMetricExporter, createOtlpMetricsNodeSdkLayer, createOtlpMetricsWebSdkLayer, createOtlpMetricsWorkersSdkLayer, createOtlpNodeSdkLayer, createOtlpTraceExporter, createOtlpWebSdkLayer, createOtlpWorkersSdkLayer, createStorageErrorClassifier, createStorageErrorTracker, createStorageMetrics, createStorageTracingLayer, createTestFixture, createTracingLayer, createUploadEngineMetrics, createUploadErrorClassifier, createUploadGauges, createUploadHistograms, createUploadMetrics, createUploadSummaries, detectEnvironment, emitLog, filesystemActiveUploadsGauge, filesystemApiCallsTotal, filesystemFileSizeHistogram, filesystemMetrics, filesystemPartSizeHistogram, filesystemPartUploadDurationHistogram, filesystemUploadDurationHistogram, filesystemUploadErrorsTotal, filesystemUploadLatencySummary, filesystemUploadPartsTotal, filesystemUploadRequestsTotal, filesystemUploadSuccessTotal, filesystemUploadThroughputGauge, flowMetrics, gcsActiveUploadsGauge, gcsApiCallsTotal, gcsFileSizeHistogram, gcsMetrics, gcsPartSizeHistogram, gcsPartUploadDurationHistogram, gcsUploadDurationHistogram, gcsUploadErrorsTotal, gcsUploadLatencySummary, gcsUploadPartsTotal, gcsUploadRequestsTotal, gcsUploadSuccessTotal, gcsUploadThroughputGauge, getFlowMetrics, getLogsExportInterval, getMetricsExportInterval, getOtlpEndpoint, getServiceName, getTestMetrics, getTraceContext, getUploadMetrics, hasActiveTraceContext, isObservabilityEnabled, isOtlpExportEnabled, logAzureContext, logAzureOperation, logAzureUploadCompletion, logAzureUploadProgress, logDebug, logError, logFatal, logFilesystemContext, logFilesystemOperation, logFilesystemUploadCompletion, logFilesystemUploadProgress, logGCSContext, logGCSOperation, logGCSUploadCompletion, logGCSUploadProgress, logInfo, logS3Context, logS3Operation, logS3UploadCompletion, logS3UploadProgress, logStorageOperation, logUploadCompletion, logUploadProgress, logWarn, logWithContext, makeFlowObservabilityLayer, makeFlowObservabilityLive, makeObservabilityLayer, makeStorageObservabilityLayer, makeTestFlowObservability, makeTestFlowObservability$1 as makeTestFlowObservabilityUtil, makeTestStorageObservability, makeTestUploadObservability, makeUploadObservabilityLayer, makeUploadObservabilityLive, mapLogLevelToSeverity, parseOtlpHeaders, parseResourceAttributes, recordCounter, recordHistogram, runWithTestFlowObservability, runWithTestObservability, s3ActiveUploadsGauge, s3ApiCallsTotal, s3FileSizeHistogram, s3Metrics, s3PartSizeHistogram, s3PartUploadDurationHistogram, s3UploadDurationHistogram, s3UploadErrorsTotal, s3UploadLatencySummary, s3UploadPartsTotal, s3UploadRequestsTotal, s3UploadSuccessTotal, s3UploadThroughputGauge, severityToText, trackActiveFlow, trackActiveNode, trackAzureError, trackFileSize, trackFilesystemError, trackFlowError, trackGCSError, trackNodeError, trackPartSize, trackS3Error, trackStorageError, trackUploadError, uploadEngineMetrics, validateMetricsExist, whenObservabilityEnabled, withActiveUploadTracking, withApiMetrics, withAzureApiMetrics, withAzureOperationMetrics, withAzureSpan, withAzureTimingMetrics, withAzureUploadMetrics, withChunkContext, withChunkDuration, withCircuitBreakerContext, withCircuitBreakerSpan, withExecutionContext, withFilesystemApiMetrics, withFilesystemOperationMetrics, withFilesystemSpan, withFilesystemTimingMetrics, withFilesystemUploadMetrics, withFlowContext, withFlowDuration, withFlowSpan, withGCSApiMetrics, withGCSOperationMetrics, withGCSSpan, withGCSTimingMetrics, withGCSUploadMetrics, withMetricTracking, withNodeContext, withNodeDuration, withOperationContext, withOperationSpan, withParentContext, withS3ApiMetrics, withS3OperationMetrics, withS3Span, withS3TimingMetrics, withS3UploadMetrics, withStorageOperationMetrics, withStorageSpan, withThroughputTracking, withTimingMetrics, withUploadContext, withUploadDuration, withUploadMetrics, withUploadSpan };
|
|
1763
1763
|
//# sourceMappingURL=index.d.cts.map
|