RPC response headers or metadata sent before the response payload, <key> being the normalized header name (lowercase), the value being the header values.
Example
["attribute_value"]
Note
Instrumentations SHOULD require an explicit configuration of which headers are to be captured.
Including all response headers can be a security risk - explicit configuration helps avoid leaking sensitive information.
For example, a header my-custom-key with value ["attribute_value"]SHOULD be recorded as
the rpc.response.header.my-custom-key attribute with value ["attribute_value"]
The attribute value MUST consist of either multiple header values as an array of
strings or a single-item array containing a possibly comma-concatenated string,
depending on the way the RPC library provides access to headers.
Values that the RPC system exposes as binary data, or that are otherwise not valid
UTF-8 strings, SHOULD be base64-encoded when recorded.
This attribute is experimental and is subject to breaking changes in minor releases of @opentelemetry/semantic-conventions.
RPC response headers or metadata sent before the response payload,
<key>being the normalized header name (lowercase), the value being the header values.Example
Note
Instrumentations SHOULD require an explicit configuration of which headers are to be captured. Including all response headers can be a security risk - explicit configuration helps avoid leaking sensitive information.
For example, a header
my-custom-keywith value["attribute_value"]SHOULD be recorded as therpc.response.header.my-custom-keyattribute with value["attribute_value"]The attribute value MUST consist of either multiple header values as an array of strings or a single-item array containing a possibly comma-concatenated string, depending on the way the RPC library provides access to headers.
Values that the RPC system exposes as binary data, or that are otherwise not valid UTF-8 strings, SHOULD be base64-encoded when recorded.
This attribute is experimental and is subject to breaking changes in minor releases of
@opentelemetry/semantic-conventions.