{"source":"semconv","version":"1.45.0","attribute":{"id":"rpc.response.header","type":"template[string[]]","stability":"release_candidate","brief":"RPC response headers or metadata sent before the response payload, `<key>` being the normalized header name (lowercase), the value being the header values.","note":"Instrumentations SHOULD require an explicit configuration of which headers are to be captured.\nIncluding all response headers can be a security risk - explicit configuration helps avoid leaking sensitive information.\n\nFor example, a header `my-custom-key` with value `[\"attribute_value\"]` SHOULD be recorded as\nthe `rpc.response.header.my-custom-key` attribute with value `[\"attribute_value\"]`\n\nThe attribute value MUST consist of either multiple header values as an array of\nstrings or a single-item array containing a possibly comma-concatenated string,\ndepending on the way the RPC library provides access to headers.\n\nValues that the RPC system exposes as binary data, or that are otherwise not valid\nUTF-8 strings, SHOULD be base64-encoded when recorded.","examples":["[\"attribute_value\"]"],"namespace":"rpc","definedIn":"model/rpc/registry.yaml","usedBy":[{"groupId":"rpc.grpc.attributes.span","groupType":"attribute_group","requirementLevel":"opt_in"},{"groupId":"span.rpc.call.client","groupType":"span","requirementLevel":"opt_in"},{"groupId":"span.rpc.call.server","groupType":"span","requirementLevel":"opt_in"},{"groupId":"span.rpc.connect_rpc.call.client","groupType":"span","signalName":"rpc.call.client","requirementLevel":"opt_in"},{"groupId":"span.rpc.connect_rpc.call.server","groupType":"span","signalName":"rpc.call.server","requirementLevel":"opt_in"},{"groupId":"span.rpc.grpc.call.client","groupType":"span","signalName":"rpc.call.client","requirementLevel":"opt_in"},{"groupId":"span.rpc.grpc.call.server","groupType":"span","signalName":"rpc.call.server","requirementLevel":"opt_in"}]},"history":[{"version":"1.45.0","publishedAt":"2026-11-02T16:11:42Z","kind":"first-seen","detail":"Added as release_candidate.","severity":"informational"}],"replaces":[]}