Skip to content

Connectum API Reference / @connectum/otel / attributes / ATTR_RPC_RESPONSE_STATUS_CODE

Variable: ATTR_RPC_RESPONSE_STATUS_CODE ​

const ATTR_RPC_RESPONSE_STATUS_CODE: "rpc.response.status_code" = "rpc.response.status_code"

Defined in: attributes.ts:25

Status of the call as a string: the Connect error-code name (NOT_FOUND) on failure and OK on a successful unary call. Not set on a streaming call that has started successfully, because the final status is not known when the response head is returned.