@latitude-data/openclaw-telemetry 0.0.8 → 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.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "id": "@latitude-data/openclaw-telemetry",
3
3
  "name": "Latitude Telemetry",
4
- "description": "Streams every OpenClaw agent run to Latitude as OTLP traces full prompt, message history, assistant output, tool I/O, token usage, and agent name.",
5
- "version": "0.0.8",
4
+ "description": "Streams every OpenClaw agent run to Latitude as OTLP traces: prompts, model calls with per-call usage and cost, tool calls and definitions, memory reads and writes, subagents, cron runs, and the sending user.",
5
+ "version": "0.1.0",
6
6
  "configSchema": {
7
7
  "type": "object",
8
8
  "additionalProperties": true,
@@ -27,12 +27,67 @@
27
27
  "debug": {
28
28
  "type": "boolean",
29
29
  "default": false,
30
- "description": "Log diagnostic lines to stderr."
30
+ "description": "Log diagnostic lines to the gateway log."
31
31
  },
32
32
  "enabled": {
33
33
  "type": "boolean",
34
34
  "default": true,
35
35
  "description": "Set to false to pause emission without uninstalling."
36
+ },
37
+ "serviceName": {
38
+ "type": "string",
39
+ "default": "openclaw",
40
+ "description": "OTLP service.name; the Service axis in Latitude. Set one per agent deployment to tell them apart."
41
+ },
42
+ "tags": {
43
+ "type": "array",
44
+ "items": {
45
+ "type": "string"
46
+ },
47
+ "description": "Extra Latitude tags appended to the derived ones (openclaw, channel, agent id, cron:<job>, subagent:<agent>)."
48
+ },
49
+ "metadata": {
50
+ "type": "object",
51
+ "additionalProperties": {
52
+ "type": "string"
53
+ },
54
+ "description": "Extra Latitude metadata key/values. Keys starting with openclaw. are reserved and ignored."
55
+ },
56
+ "memory": {
57
+ "type": "boolean",
58
+ "default": true,
59
+ "description": "Emit memory spans for MEMORY.md, USER.md and memory/ reads and writes."
60
+ },
61
+ "memoryContent": {
62
+ "type": "boolean",
63
+ "default": true,
64
+ "description": "Include memory record bodies and search queries on memory spans."
65
+ },
66
+ "toolDefinitions": {
67
+ "type": "boolean",
68
+ "default": true,
69
+ "description": "Attach the tool definitions offered to the model on each model call span."
70
+ },
71
+ "maxContentChars": {
72
+ "type": "integer",
73
+ "minimum": 1024,
74
+ "default": 262144,
75
+ "description": "Per-attribute content budget; larger values are truncated from the middle."
76
+ },
77
+ "redact": {
78
+ "type": "object",
79
+ "description": "Local attribute redaction before export: { attributes: [exact key or /regex/flags], mask }.",
80
+ "properties": {
81
+ "attributes": {
82
+ "type": "array",
83
+ "items": {
84
+ "type": "string"
85
+ }
86
+ },
87
+ "mask": {
88
+ "type": "string"
89
+ }
90
+ }
36
91
  }
37
92
  }
38
93
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@latitude-data/openclaw-telemetry",
3
- "version": "0.0.8",
4
- "description": "OpenClaw plugin that streams LLM calls, tool executions, and agent runs to Latitude as OTLP traces",
3
+ "version": "0.1.0",
4
+ "description": "OpenClaw plugin that streams agent runs to Latitude as OTLP traces: model calls with usage and cost, tool calls and definitions, memory, subagents, cron runs, and user identity",
5
5
  "author": "Latitude Data SL <hello@latitude.so>",
6
6
  "license": "MIT",
7
7
  "keywords": [
@@ -46,9 +46,9 @@
46
46
  "@biomejs/biome": "2.4.6",
47
47
  "@types/node": "22.14.1",
48
48
  "tsdown": "0.21.9",
49
- "@typescript/native-preview": "7.0.0-dev.20260421.2",
49
+ "@typescript/native-preview": "7.0.0-dev.20260705.1",
50
50
  "typescript": "6.0.3",
51
- "vitest": "4.1.0"
51
+ "vitest": "4.1.8"
52
52
  },
53
53
  "scripts": {
54
54
  "build": "tsdown",