@adea-ai/telemetry 3.0.1 → 4.0.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/catalog.d.ts +2 -2
- package/dist/catalog.js +0 -11
- package/package.json +1 -1
package/dist/catalog.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare const executionTraceSpans: readonly ['execution.root', 'plan.compile', 'workflow.run', 'runtime.route', 'runtime.start', 'model.call', 'tool.authorize', 'tool.execute', 'sandbox.execute', 'approval.wait', 'artifact.promote', 'usage.settle', 'execution.cleanup'];
|
|
2
|
-
export declare const operationalMetrics: readonly ['control.api.request.duration', 'control.api.error.count', 'control.command_inbox.duplicate.count', 'control.command_inbox.conflict.count', 'workflow.backlog.count', 'workflow.replay.count', 'runtime.available.count', '
|
|
2
|
+
export declare const operationalMetrics: readonly ['control.api.request.duration', 'control.api.error.count', 'control.command_inbox.duplicate.count', 'control.command_inbox.conflict.count', 'workflow.backlog.count', 'workflow.replay.count', 'runtime.available.count', 'model.call.duration', 'model.call.error.count', 'tool.call.duration', 'tool.call.error.count', 'execution.reconciliation.count', 'execution.manual_intervention.count', 'context.provider_resolution.count', 'memory.write.decision.count', 'control.event.quarantine.count', 'usage.cost.usd', 'execution.queue.latency', 'execution.human.latency', 'execution.retry.age', 'execution.reconciliation.age', 'storage.retained.bytes', 'storage.rewritten.bytes', 'storage.growth.bytes', 'runtime.active_object.count', 'operations.operating_cost.usd'];
|
|
3
3
|
export type ExecutionTraceSpanName = (typeof executionTraceSpans)[number];
|
|
4
4
|
export type OperationalMetricName = (typeof operationalMetrics)[number];
|
|
5
5
|
export interface DiagnosticQuery {
|
|
6
|
-
readonly failureClass: 'application' | 'workflow' | '
|
|
6
|
+
readonly failureClass: 'application' | 'workflow' | 'runtime' | 'provider' | 'policy';
|
|
7
7
|
readonly signals: readonly string[];
|
|
8
8
|
readonly correlateBy: readonly string[];
|
|
9
9
|
}
|
package/dist/catalog.js
CHANGED
|
@@ -21,8 +21,6 @@ export const operationalMetrics = [
|
|
|
21
21
|
'workflow.backlog.count',
|
|
22
22
|
'workflow.replay.count',
|
|
23
23
|
'runtime.available.count',
|
|
24
|
-
'runtime.gateway.connection.count',
|
|
25
|
-
'runtime.gateway.ack.duration',
|
|
26
24
|
'model.call.duration',
|
|
27
25
|
'model.call.error.count',
|
|
28
26
|
'tool.call.duration',
|
|
@@ -58,15 +56,6 @@ export const diagnosticQueries = [
|
|
|
58
56
|
signals: ['workflow.backlog.count', 'workflow.replay.count', 'span.name=workflow.run'],
|
|
59
57
|
correlateBy: ['workflow.id', 'execution.id', 'execution.attempt.id'],
|
|
60
58
|
},
|
|
61
|
-
{
|
|
62
|
-
failureClass: 'gateway',
|
|
63
|
-
signals: [
|
|
64
|
-
'runtime.gateway.connection.count',
|
|
65
|
-
'runtime.gateway.ack.duration',
|
|
66
|
-
'service.name=runtime-gateway',
|
|
67
|
-
],
|
|
68
|
-
correlateBy: ['runtime.node.id', 'runtime.id', 'execution.id'],
|
|
69
|
-
},
|
|
70
59
|
{
|
|
71
60
|
failureClass: 'runtime',
|
|
72
61
|
signals: ['runtime.available.count', 'span.name=runtime.route', 'span.name=runtime.start'],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adea-ai/telemetry",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Fail-open observability toolkit: structured logging, secret redaction, trace-context propagation, deterministic sampling, and pluggable OpenTelemetry, Sentry, and LangSmith adapters.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"langsmith",
|