RPC response trailers or metadata sent after the response payload, <key> being the normalized trailer name (lowercase), the value being the trailer values.
Example
["attribute_value"]
Note
Instrumentations SHOULD require an explicit configuration of which trailers are to be captured.
Including all response trailers can be a security risk - explicit configuration helps avoid leaking sensitive information.
For example, a trailer my-custom-key with value ["attribute_value"]SHOULD be recorded as
the rpc.response.trailer.my-custom-key attribute with value ["attribute_value"]
The attribute value MUST consist of either multiple trailer 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 trailers.
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 trailers or metadata sent after the response payload,
<key>being the normalized trailer name (lowercase), the value being the trailer values.Example
Note
Instrumentations SHOULD require an explicit configuration of which trailers are to be captured. Including all response trailers can be a security risk - explicit configuration helps avoid leaking sensitive information.
For example, a trailer
my-custom-keywith value["attribute_value"]SHOULD be recorded as therpc.response.trailer.my-custom-keyattribute with value["attribute_value"]The attribute value MUST consist of either multiple trailer 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 trailers.
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.