TelemetryContext
@forge/monorepo / backend/src / TelemetryContext
Type Alias: TelemetryContext
TelemetryContext =
object
Defined in: backend/src/telemetry/index.ts:40
The identifiers on every log line and every span — AC-4.
Every field is an id. That is the point: this type is what a caller is allowed to correlate on, and it
contains no room for content. A telemetry context that carried a message or a prompt would be the
redaction hole, and it would be added by someone who needed one line of context in one incident.
Properties
conversationId?
readonlyoptionalconversationId?:string
Defined in: backend/src/telemetry/index.ts:42
principalId?
readonlyoptionalprincipalId?:string
Defined in: backend/src/telemetry/index.ts:44
requestId?
readonlyoptionalrequestId?:string
Defined in: backend/src/telemetry/index.ts:46
The inbound request, so a trace can be tied back to an access log entry.
runId?
readonlyoptionalrunId?:string
Defined in: backend/src/telemetry/index.ts:43
tenantId
readonlytenantId:string
Defined in: backend/src/telemetry/index.ts:41