diff --git a/scripts/src/platform-infra-observability.ts b/scripts/src/platform-infra-observability.ts index f8e8f4ca..3c58009a 100644 --- a/scripts/src/platform-infra-observability.ts +++ b/scripts/src/platform-infra-observability.ts @@ -1321,9 +1321,14 @@ LIMIT = ${options.limit} IMPORTANT_ATTRS = [ "traceId", "otel.trace_id", "agentrun.stage", "runId", "commandId", "sessionId", "turnId", "threadId", "runnerJobId", "failureKind", "willRetry", + "retryAttempt", "retryMax", "retryExhausted", "retryBackoffMs", + "upstreamHttpStatus", "upstreamHost", "providerErrorClass", "errorSummary", "terminalStatus", "phase", "message", "http.route", "http.status_code", "http.method", "eventType", "runnerId", "attemptId", "backendProfile", - "sourceCommit", "jobName", "podName", "logPath", "storageKind", + "sourceCommit", "jobName", "podName", "logPath", + "toolName", "type", "itemType", "itemId", "status", "exitCode", + "durationMs", "cwd", "processId", "command", "commandFingerprint", + "outputSummary", "outputBytes", "outputTruncated", "storageKind", "storagePvcName", "storagePvcPhase", "resumeMode", "rolloutId", "returnedEvents", "sinceSeq", "afterSeq", "limit", "fromSeq", "toSeq", "totalEvents", "hasMore", "fullTraceLoaded", "rawEventCount", @@ -1563,9 +1568,14 @@ DEADLINE = time.time() + 50 IMPORTANT_ATTRS = [ "traceId", "otel.trace_id", "agentrun.stage", "runId", "commandId", "sessionId", "turnId", "threadId", "runnerJobId", "failureKind", "willRetry", + "retryAttempt", "retryMax", "retryExhausted", "retryBackoffMs", + "upstreamHttpStatus", "upstreamHost", "providerErrorClass", "errorSummary", "terminalStatus", "phase", "message", "http.route", "http.status_code", "http.method", "eventType", "runnerId", "attemptId", "backendProfile", - "sourceCommit", "jobName", "podName", "logPath", "storageKind", + "sourceCommit", "jobName", "podName", "logPath", + "toolName", "type", "itemType", "itemId", "status", "exitCode", + "durationMs", "cwd", "processId", "command", "commandFingerprint", + "outputSummary", "outputBytes", "outputTruncated", "storageKind", "storagePvcName", "storagePvcPhase", "resumeMode", "rolloutId", "returnedEvents", "sinceSeq", "afterSeq", "limit", "fromSeq", "toSeq", "totalEvents", "hasMore", "fullTraceLoaded", "rawEventCount", @@ -1875,9 +1885,14 @@ DEADLINE = time.time() + 50 IMPORTANT_ATTRS = [ "traceId", "otel.trace_id", "agentrun.stage", "runId", "commandId", "sessionId", "turnId", "threadId", "runnerJobId", "failureKind", "willRetry", + "retryAttempt", "retryMax", "retryExhausted", "retryBackoffMs", + "upstreamHttpStatus", "upstreamHost", "providerErrorClass", "errorSummary", "terminalStatus", "phase", "message", "http.route", "http.status_code", "http.method", "eventType", "runnerId", "attemptId", "backendProfile", - "sourceCommit", "jobName", "podName", "logPath", "storageKind", + "sourceCommit", "jobName", "podName", "logPath", + "toolName", "type", "itemType", "itemId", "status", "exitCode", + "durationMs", "cwd", "processId", "command", "commandFingerprint", + "outputSummary", "outputBytes", "outputTruncated", "storageKind", "storagePvcName", "storagePvcPhase", "resumeMode", "rolloutId", "returnedEvents", "sinceSeq", "afterSeq", "limit", "fromSeq", "toSeq", "totalEvents", "hasMore", "fullTraceLoaded", "rawEventCount", @@ -2077,7 +2092,12 @@ def tiny_span(item): "http.route", "http.status_code", "http.method", "status", "terminalStatus", "eventType", "returnedEvents", "sinceSeq", "fromSeq", "toSeq", "totalEvents", "hasMore", "fullTraceLoaded", - "afterSeq", "rawEventCount", "failureKind", + "afterSeq", "rawEventCount", "failureKind", "willRetry", + "retryAttempt", "retryMax", "retryExhausted", "retryBackoffMs", + "upstreamHttpStatus", "upstreamHost", "providerErrorClass", "errorSummary", + "toolName", "type", "itemType", "itemId", "status", "exitCode", + "durationMs", "cwd", "processId", "command", "commandFingerprint", + "outputSummary", "outputBytes", "outputTruncated", ): if key in attrs: keep_attrs[key] = attrs[key]