fix: expose workbench runtime otel attributes (#595)

Co-authored-by: Codex <codex@noreply.local>
This commit is contained in:
Lyon
2026-06-21 22:05:22 +08:00
committed by GitHub
parent d6d53a2d0b
commit 9cd4f8b816
+15 -3
View File
@@ -1355,7 +1355,11 @@ IMPORTANT_ATTRS = [
"lastNotificationAt", "lastNotificationMs", "lastToolCallAt",
"upstreamHttpStatus", "upstreamHost", "providerErrorClass", "errorSummary",
"terminalStatus", "phase", "message", "http.route", "http.status_code",
"http.method", "eventType", "runnerId", "attemptId", "backendProfile",
"http.response.status_code", "http.method", "http.request.method",
"db.system", "db.operation.name", "db.sql.table", "db.query.arg_count",
"hwlab.runtime.stage", "error.code", "error.category", "error.layer",
"stage", "causeStage", "causeCode",
"eventType", "runnerId", "attemptId", "backendProfile",
"sourceCommit", "jobName", "podName", "logPath",
"toolName", "type", "itemType", "itemId", "status", "exitCode",
"durationMs", "cwd", "processId", "command", "commandFingerprint",
@@ -1611,7 +1615,11 @@ IMPORTANT_ATTRS = [
"upstreamHttpStatus", "upstreamHost", "providerErrorClass", "errorSummary",
"terminalStatus", "phase", "message", "http.route", "http.status_code",
"http.response.status_code", "http.method", "http.request.method",
"http.target", "http.url", "url.path", "eventType", "runnerId", "attemptId", "backendProfile",
"http.target", "http.url", "url.path",
"db.system", "db.operation.name", "db.sql.table", "db.query.arg_count",
"hwlab.runtime.stage", "error.code", "error.category", "error.layer",
"stage", "causeStage", "causeCode",
"eventType", "runnerId", "attemptId", "backendProfile",
"sourceCommit", "jobName", "podName", "logPath",
"toolName", "type", "itemType", "itemId", "status", "exitCode",
"durationMs", "cwd", "processId", "command", "commandFingerprint",
@@ -1990,7 +1998,11 @@ IMPORTANT_ATTRS = [
"lastNotificationAt", "lastNotificationMs", "lastToolCallAt",
"upstreamHttpStatus", "upstreamHost", "providerErrorClass", "errorSummary",
"terminalStatus", "phase", "message", "http.route", "http.status_code",
"http.method", "eventType", "runnerId", "attemptId", "backendProfile",
"http.response.status_code", "http.method", "http.request.method",
"db.system", "db.operation.name", "db.sql.table", "db.query.arg_count",
"hwlab.runtime.stage", "error.code", "error.category", "error.layer",
"stage", "causeStage", "causeCode",
"eventType", "runnerId", "attemptId", "backendProfile",
"sourceCommit", "jobName", "podName", "logPath",
"toolName", "type", "itemType", "itemId", "status", "exitCode",
"durationMs", "cwd", "processId", "command", "commandFingerprint",