-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.ts
More file actions
34 lines (27 loc) · 1.2 KB
/
index.ts
File metadata and controls
34 lines (27 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/**
* @module Effect/Telemetry
* @description
* Main re-export module for Telemetry service.
* Provides all exports for backward compatibility with existing imports.
*
* @see {@link Effect/Telemetry/Interface/TelemetryService} Service interface
* @see {@link Effect/Telemetry/Layer/TelemetryLive} Live layer
* @see {@link Effect/Telemetry/Layer/TelemetryMock} Mock layer
* @category Re-export
*/
// Types
export type { TelemetryMetric, TelemetrySpan, TelemetryLog, TelemetryEvent, SpanHandle } from "./Type/TelemetryType.js";
// Service interface
export type { TelemetryService } from "./Interface/TelemetryService.js";
// Tag
export { default as TelemetryTag, Telemetry } from "./Tag/TelemetryTag.js";
// Layers
export { default as TelemetryLive } from "./Layer/TelemetryLive.js";
export { default as TelemetryMockLive } from "./Layer/TelemetryMock.js";
// Mock factory (for direct usage without Layer)
export { makeMockTelemetry } from "./Layer/TelemetryMock.js";
// Helper functions
export { default as withSpan } from "./Helper/withSpan.js";
export { default as withMetric } from "./Helper/withMetric.js";
// Errors
export { default as TelemetryCollectionError } from "./Error/TelemetryCollectionError.js";