@noego/telemetry 0.0.5 → 0.1.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/README.md +6 -0
- package/dist/browser/index.d.cts +6 -5
- package/dist/browser/index.d.ts +6 -5
- package/dist/{browser_telemetry_client-BSAMZ8Qb.d.cts → browser_telemetry_client-ClZl3awO.d.cts} +2 -2
- package/dist/{browser_telemetry_client-DPBU6NGw.d.ts → browser_telemetry_client-t4dPp8Ku.d.ts} +2 -2
- package/dist/cli/telemetry_bin.cjs +393 -35
- package/dist/cli/telemetry_bin.cjs.map +1 -1
- package/dist/cli/telemetry_bin.js +378 -20
- package/dist/cli/telemetry_bin.js.map +1 -1
- package/dist/cli/telemetry_cli.cjs +393 -35
- package/dist/cli/telemetry_cli.cjs.map +1 -1
- package/dist/cli/telemetry_cli.d.cts +35 -5
- package/dist/cli/telemetry_cli.d.ts +35 -5
- package/dist/cli/telemetry_cli.js +378 -20
- package/dist/cli/telemetry_cli.js.map +1 -1
- package/dist/{client_defaults-ShVYQYmn.d.ts → client_defaults-CZ8PysZX.d.ts} +2 -2
- package/dist/{client_defaults-Dk0MMzvx.d.cts → client_defaults-lDbWYWWK.d.cts} +2 -2
- package/dist/core/index.cjs +5 -1
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +15 -12
- package/dist/core/index.d.ts +15 -12
- package/dist/core/index.js +5 -1
- package/dist/core/index.js.map +1 -1
- package/dist/electron/index.d.cts +5 -4
- package/dist/electron/index.d.ts +5 -4
- package/dist/{envelope.types-rOLpWXRC.d.cts → envelope.types-DIvZD3xH.d.ts} +2 -6
- package/dist/{envelope.types-rOLpWXRC.d.ts → envelope.types-DyrlRG49.d.cts} +2 -6
- package/dist/{in_memory_batch_transport-DKW9EZnU.d.cts → in_memory_batch_transport-3T6gElXP.d.cts} +1 -1
- package/dist/{in_memory_batch_transport-oOwNxXnA.d.ts → in_memory_batch_transport-DpQU6JqM.d.ts} +1 -1
- package/dist/index.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -12
- package/dist/index.d.ts +14 -12
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/json.types-BqS77fcN.d.cts +7 -0
- package/dist/json.types-BqS77fcN.d.ts +7 -0
- package/dist/{maintenance_coordinator.types-C4ULi4A4.d.cts → maintenance_coordinator.types-Crhx9i9k.d.cts} +3 -3
- package/dist/{maintenance_coordinator.types-ikUrRXmO.d.ts → maintenance_coordinator.types-DprmgpVn.d.ts} +3 -3
- package/dist/metric.types-D8aOAnUm.d.ts +67 -0
- package/dist/metric.types-Dg4eZq6u.d.cts +67 -0
- package/dist/{metric_definition_contract-BYtnODhu.d.ts → metric_definition_contract-C6MERhJs.d.ts} +1 -1
- package/dist/{metric_definition_contract-DfhhmTZ1.d.cts → metric_definition_contract-DoAk7NOw.d.cts} +1 -1
- package/dist/node/index.cjs +5 -1
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.d.cts +11 -9
- package/dist/node/index.d.ts +11 -9
- package/dist/node/index.js +5 -1
- package/dist/node/index.js.map +1 -1
- package/dist/node/producer/index.d.cts +5 -4
- package/dist/node/producer/index.d.ts +5 -4
- package/dist/projector/index.cjs +1370 -0
- package/dist/projector/index.cjs.map +1 -0
- package/dist/projector/index.d.cts +246 -0
- package/dist/projector/index.d.ts +246 -0
- package/dist/projector/index.js +1328 -0
- package/dist/projector/index.js.map +1 -0
- package/dist/{query.types-DU5v7vM0.d.ts → query.types-CRqAsGTX.d.cts} +4 -66
- package/dist/{query.types-DuYWbFFe.d.cts → query.types-DnOMYXpC.d.ts} +4 -66
- package/dist/sqlite/index.cjs +5 -1
- package/dist/sqlite/index.cjs.map +1 -1
- package/dist/sqlite/index.d.cts +7 -5
- package/dist/sqlite/index.d.ts +7 -5
- package/dist/sqlite/index.js +5 -1
- package/dist/sqlite/index.js.map +1 -1
- package/dist/{storage.types-k7oElEB3.d.ts → storage.types-BKWoIOHp.d.ts} +3 -2
- package/dist/{storage.types-Bji_pWqr.d.cts → storage.types-DHbAm3j_.d.cts} +3 -2
- package/dist/{telemetry_client-BO5Pjp41.d.cts → telemetry_client-Bg5tbj5E.d.cts} +3 -2
- package/dist/{telemetry_client-D8uZ-mTL.d.ts → telemetry_client-DWKgufmc.d.ts} +3 -2
- package/dist/{telemetry_configuration_parser-BZ8Nvnle.d.ts → telemetry_configuration_parser-6BR3_dD_.d.ts} +2 -2
- package/dist/{telemetry_configuration_parser-CgSN7R6A.d.cts → telemetry_configuration_parser-ybeweUPE.d.cts} +2 -2
- package/dist/testing/index.d.cts +7 -5
- package/dist/testing/index.d.ts +7 -5
- package/dist/trace-adapter/index.d.cts +4 -3
- package/dist/trace-adapter/index.d.ts +4 -3
- package/dist/{transport.types-BAl_TRtU.d.cts → transport.types-C2dP-eed.d.cts} +1 -1
- package/dist/{transport.types-DDnZoKWi.d.ts → transport.types-SA8KpLiK.d.ts} +1 -1
- package/native/noego_telemetry_native.node +0 -0
- package/package.json +11 -4
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { E as ExtractedMetricSample, a as MetricExtractionFailure, M as MetricDefinition
|
|
1
|
+
import { E as ExtractedMetricSample, a as MetricExtractionFailure, M as MetricDefinition } from './metric.types-D8aOAnUm.js';
|
|
2
|
+
import { T as TimelineQuery, a as TimelineQueryResponse, b as TelemetryQueryError, M as MetricQuery, c as MetricQueryResponse } from './query.types-DnOMYXpC.js';
|
|
2
3
|
import { T as TelemetryResult } from './result.types-171Huujb.js';
|
|
3
|
-
import { d as TelemetryBatch, f as TelemetryDropCounter, e as TelemetryAcknowledgement, g as TelemetryDeliveryMode } from './transport.types-
|
|
4
|
+
import { d as TelemetryBatch, f as TelemetryDropCounter, e as TelemetryAcknowledgement, g as TelemetryDeliveryMode } from './transport.types-SA8KpLiK.js';
|
|
4
5
|
|
|
5
6
|
type TelemetryStorageCapabilities = Readonly<{
|
|
6
7
|
rawPersistence: boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { E as ExtractedMetricSample, a as MetricExtractionFailure, M as MetricDefinition
|
|
1
|
+
import { E as ExtractedMetricSample, a as MetricExtractionFailure, M as MetricDefinition } from './metric.types-Dg4eZq6u.cjs';
|
|
2
|
+
import { T as TimelineQuery, a as TimelineQueryResponse, b as TelemetryQueryError, M as MetricQuery, c as MetricQueryResponse } from './query.types-CRqAsGTX.cjs';
|
|
2
3
|
import { T as TelemetryResult } from './result.types-171Huujb.cjs';
|
|
3
|
-
import { d as TelemetryBatch, f as TelemetryDropCounter, e as TelemetryAcknowledgement, g as TelemetryDeliveryMode } from './transport.types-
|
|
4
|
+
import { d as TelemetryBatch, f as TelemetryDropCounter, e as TelemetryAcknowledgement, g as TelemetryDeliveryMode } from './transport.types-C2dP-eed.cjs';
|
|
4
5
|
|
|
5
6
|
type TelemetryStorageCapabilities = Readonly<{
|
|
6
7
|
rawPersistence: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { T as TelemetryBatchTransport, f as TelemetryDropCounter, e as TelemetryAcknowledgement } from './transport.types-
|
|
2
|
-
import {
|
|
1
|
+
import { T as TelemetryBatchTransport, f as TelemetryDropCounter, e as TelemetryAcknowledgement } from './transport.types-C2dP-eed.cjs';
|
|
2
|
+
import { T as TelemetryJsonObject } from './json.types-BqS77fcN.cjs';
|
|
3
|
+
import { c as TelemetryLevel, a as TelemetryAdmitInput } from './envelope.types-DyrlRG49.cjs';
|
|
3
4
|
|
|
4
5
|
type MetadataRedactionRule = Readonly<{
|
|
5
6
|
path: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { T as TelemetryBatchTransport, f as TelemetryDropCounter, e as TelemetryAcknowledgement } from './transport.types-
|
|
2
|
-
import {
|
|
1
|
+
import { T as TelemetryBatchTransport, f as TelemetryDropCounter, e as TelemetryAcknowledgement } from './transport.types-SA8KpLiK.js';
|
|
2
|
+
import { T as TelemetryJsonObject } from './json.types-BqS77fcN.js';
|
|
3
|
+
import { c as TelemetryLevel, a as TelemetryAdmitInput } from './envelope.types-DIvZD3xH.js';
|
|
3
4
|
|
|
4
5
|
type MetadataRedactionRule = Readonly<{
|
|
5
6
|
path: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as MetricDefinitionContract } from './metric_definition_contract-
|
|
2
|
-
import { R as ResolvedTelemetryConfiguration } from './query.types-
|
|
1
|
+
import { M as MetricDefinitionContract } from './metric_definition_contract-C6MERhJs.js';
|
|
2
|
+
import { R as ResolvedTelemetryConfiguration } from './query.types-DnOMYXpC.js';
|
|
3
3
|
|
|
4
4
|
declare class TelemetryDurationParser {
|
|
5
5
|
private static readonly MULTIPLIERS;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as MetricDefinitionContract } from './metric_definition_contract-
|
|
2
|
-
import { R as ResolvedTelemetryConfiguration } from './query.types-
|
|
1
|
+
import { M as MetricDefinitionContract } from './metric_definition_contract-DoAk7NOw.cjs';
|
|
2
|
+
import { R as ResolvedTelemetryConfiguration } from './query.types-CRqAsGTX.cjs';
|
|
3
3
|
|
|
4
4
|
declare class TelemetryDurationParser {
|
|
5
5
|
private static readonly MULTIPLIERS;
|
package/dist/testing/index.d.cts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
export { I as InMemoryBatchTransport } from '../in_memory_batch_transport-
|
|
2
|
-
import { M as MetricDefinition
|
|
1
|
+
export { I as InMemoryBatchTransport } from '../in_memory_batch_transport-3T6gElXP.cjs';
|
|
2
|
+
import { M as MetricDefinition } from '../metric.types-Dg4eZq6u.cjs';
|
|
3
|
+
import { T as TimelineQuery, a as TimelineQueryResponse, b as TelemetryQueryError, M as MetricQuery, c as MetricQueryResponse, S as SqliteTargetConfiguration } from '../query.types-CRqAsGTX.cjs';
|
|
3
4
|
import { T as TelemetryResult } from '../result.types-171Huujb.cjs';
|
|
4
|
-
import { T as TelemetryStorageTransport, a as TelemetryStorageCapabilities, S as StoragePersistRequest, M as MaintenanceStageResult, b as StorageTargetStatus } from '../storage.types-
|
|
5
|
-
import { e as TelemetryAcknowledgement, d as TelemetryBatch } from '../transport.types-
|
|
6
|
-
import '../
|
|
5
|
+
import { T as TelemetryStorageTransport, a as TelemetryStorageCapabilities, S as StoragePersistRequest, M as MaintenanceStageResult, b as StorageTargetStatus } from '../storage.types-DHbAm3j_.cjs';
|
|
6
|
+
import { e as TelemetryAcknowledgement, d as TelemetryBatch } from '../transport.types-C2dP-eed.cjs';
|
|
7
|
+
import '../json.types-BqS77fcN.cjs';
|
|
8
|
+
import '../envelope.types-DyrlRG49.cjs';
|
|
7
9
|
|
|
8
10
|
declare class InMemoryStorageTransport implements TelemetryStorageTransport {
|
|
9
11
|
readonly targetId: string;
|
package/dist/testing/index.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
export { I as InMemoryBatchTransport } from '../in_memory_batch_transport-
|
|
2
|
-
import { M as MetricDefinition
|
|
1
|
+
export { I as InMemoryBatchTransport } from '../in_memory_batch_transport-DpQU6JqM.js';
|
|
2
|
+
import { M as MetricDefinition } from '../metric.types-D8aOAnUm.js';
|
|
3
|
+
import { T as TimelineQuery, a as TimelineQueryResponse, b as TelemetryQueryError, M as MetricQuery, c as MetricQueryResponse, S as SqliteTargetConfiguration } from '../query.types-DnOMYXpC.js';
|
|
3
4
|
import { T as TelemetryResult } from '../result.types-171Huujb.js';
|
|
4
|
-
import { T as TelemetryStorageTransport, a as TelemetryStorageCapabilities, S as StoragePersistRequest, M as MaintenanceStageResult, b as StorageTargetStatus } from '../storage.types-
|
|
5
|
-
import { e as TelemetryAcknowledgement, d as TelemetryBatch } from '../transport.types-
|
|
6
|
-
import '../
|
|
5
|
+
import { T as TelemetryStorageTransport, a as TelemetryStorageCapabilities, S as StoragePersistRequest, M as MaintenanceStageResult, b as StorageTargetStatus } from '../storage.types-BKWoIOHp.js';
|
|
6
|
+
import { e as TelemetryAcknowledgement, d as TelemetryBatch } from '../transport.types-SA8KpLiK.js';
|
|
7
|
+
import '../json.types-BqS77fcN.js';
|
|
8
|
+
import '../envelope.types-DIvZD3xH.js';
|
|
7
9
|
|
|
8
10
|
declare class InMemoryStorageTransport implements TelemetryStorageTransport {
|
|
9
11
|
readonly targetId: string;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { a as TelemetryClient, b as TelemetryAdmissionResult, M as MetadataSnapshotLimits } from '../telemetry_client-
|
|
1
|
+
import { a as TelemetryClient, b as TelemetryAdmissionResult, M as MetadataSnapshotLimits } from '../telemetry_client-Bg5tbj5E.cjs';
|
|
2
2
|
import { T as TelemetryResult } from '../result.types-171Huujb.cjs';
|
|
3
|
-
import { d as TelemetryBatch } from '../transport.types-
|
|
4
|
-
import '../
|
|
3
|
+
import { d as TelemetryBatch } from '../transport.types-C2dP-eed.cjs';
|
|
4
|
+
import '../json.types-BqS77fcN.cjs';
|
|
5
|
+
import '../envelope.types-DyrlRG49.cjs';
|
|
5
6
|
|
|
6
7
|
type TraceSinkManagerLike = Readonly<{
|
|
7
8
|
registerSink(sink: (event: unknown) => void): () => void;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { a as TelemetryClient, b as TelemetryAdmissionResult, M as MetadataSnapshotLimits } from '../telemetry_client-
|
|
1
|
+
import { a as TelemetryClient, b as TelemetryAdmissionResult, M as MetadataSnapshotLimits } from '../telemetry_client-DWKgufmc.js';
|
|
2
2
|
import { T as TelemetryResult } from '../result.types-171Huujb.js';
|
|
3
|
-
import { d as TelemetryBatch } from '../transport.types-
|
|
4
|
-
import '../
|
|
3
|
+
import { d as TelemetryBatch } from '../transport.types-SA8KpLiK.js';
|
|
4
|
+
import '../json.types-BqS77fcN.js';
|
|
5
|
+
import '../envelope.types-DIvZD3xH.js';
|
|
5
6
|
|
|
6
7
|
type TraceSinkManagerLike = Readonly<{
|
|
7
8
|
registerSink(sink: (event: unknown) => void): () => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as TelemetryEnvelope } from './envelope.types-
|
|
1
|
+
import { T as TelemetryEnvelope } from './envelope.types-DyrlRG49.cjs';
|
|
2
2
|
|
|
3
3
|
declare const TELEMETRY_DELIVERY_MODES: readonly ["required", "best-effort"];
|
|
4
4
|
type TelemetryDeliveryMode = (typeof TELEMETRY_DELIVERY_MODES)[number];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as TelemetryEnvelope } from './envelope.types-
|
|
1
|
+
import { T as TelemetryEnvelope } from './envelope.types-DIvZD3xH.js';
|
|
2
2
|
|
|
3
3
|
declare const TELEMETRY_DELIVERY_MODES: readonly ["required", "best-effort"];
|
|
4
4
|
type TelemetryDeliveryMode = (typeof TELEMETRY_DELIVERY_MODES)[number];
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noego/telemetry",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Bounded, transport-neutral telemetry collection with local SQLite storage",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -69,7 +69,13 @@
|
|
|
69
69
|
"import": "./dist/cli/telemetry_cli.js",
|
|
70
70
|
"default": "./dist/cli/telemetry_cli.js"
|
|
71
71
|
},
|
|
72
|
-
"./package.json": "./package.json"
|
|
72
|
+
"./package.json": "./package.json",
|
|
73
|
+
"./projector": {
|
|
74
|
+
"types": "./dist/projector/index.d.ts",
|
|
75
|
+
"require": "./dist/projector/index.cjs",
|
|
76
|
+
"import": "./dist/projector/index.js",
|
|
77
|
+
"default": "./dist/projector/index.js"
|
|
78
|
+
}
|
|
73
79
|
},
|
|
74
80
|
"files": [
|
|
75
81
|
"dist",
|
|
@@ -103,13 +109,14 @@
|
|
|
103
109
|
"node": ">=20"
|
|
104
110
|
},
|
|
105
111
|
"dependencies": {
|
|
112
|
+
"@noego/trace": "^0.2.0",
|
|
106
113
|
"js-yaml": "^4.1.0",
|
|
107
114
|
"zod": "^4.3.6"
|
|
108
115
|
},
|
|
109
116
|
"peerDependencies": {
|
|
110
|
-
"@noego/proper": "
|
|
117
|
+
"@noego/proper": ">=0.0.9",
|
|
111
118
|
"better-sqlite3": ">=12.0.0",
|
|
112
|
-
"sqlstack": "
|
|
119
|
+
"sqlstack": ">=1.0.25"
|
|
113
120
|
},
|
|
114
121
|
"peerDependenciesMeta": {
|
|
115
122
|
"@noego/proper": {
|