@akilium/telemetry-collector 0.1.1 → 0.1.2
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 +8 -2
- package/bin/akilium-telemetry.mjs +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,10 +25,16 @@ The CLI validates the URL and token, writes `akila-forwarding.env` with mode 060
|
|
|
25
25
|
After the source and connection are active, issue a separate action capture token from the Codex connection controls. Read it without echo and enroll it independently:
|
|
26
26
|
|
|
27
27
|
```sh
|
|
28
|
-
printf 'Lineage token: '; read -r -s AKILA_LINEAGE_TOKEN; printf '\n'; printf '%s' "$AKILA_LINEAGE_TOKEN" | npx --yes @akilium/telemetry-collector@0.1.
|
|
28
|
+
printf 'Lineage token: '; read -r -s AKILA_LINEAGE_TOKEN; printf '\n'; printf '%s' "$AKILA_LINEAGE_TOKEN" | npx --yes @akilium/telemetry-collector@0.1.2 enroll-lineage --endpoint https://YOUR_PROJECT.supabase.co/functions/v1/codex-lineage-otel-ingestion; unset AKILA_LINEAGE_TOKEN
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
For Docker, recreate the container after enrollment so the new environment variables are loaded:
|
|
32
|
+
|
|
33
|
+
```sh
|
|
34
|
+
docker compose -f "$HOME/.local/share/akilium-agent-telemetry/compose.yaml" up -d --force-recreate collector
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
For native installations, stop and relaunch the collector with the updated protected environment. A Docker restart alone keeps the previous environment. The second pipeline forwards only Codex `tool_result` records to the capability-bound lineage receiver. It retains the call ID, completion time, duration, success state, and Codex service version; arguments, output, prompts, resource identifiers, and tool names are dropped before export. Each tool result becomes a completed action attempt, including attempts with no durable artifact. The completion credential is never accepted by this receiver.
|
|
32
38
|
|
|
33
39
|
## Operational limits and diagnostics, v1
|
|
34
40
|
|
|
@@ -309,7 +309,8 @@ function enrollLineage() {
|
|
|
309
309
|
chmodSync(envFile, 0o600);
|
|
310
310
|
manifest.akilaLineageForwarding = true;
|
|
311
311
|
saveManifest(manifest);
|
|
312
|
-
console.log("Protected action-lineage forwarding configured;
|
|
312
|
+
console.log("Protected action-lineage forwarding configured; reload the collector configuration and environment, then check hosted lineage coverage");
|
|
313
|
+
if (manifest.mode === "docker") console.log(`Run: docker compose -f "${join(p.root, "compose.yaml")}" up -d --force-recreate collector`);
|
|
313
314
|
}
|
|
314
315
|
|
|
315
316
|
function setDestination() {
|