{"source":"semconv","version":"1.45.0","attribute":{"id":"rpc.response.trailer","type":"template[string[]]","stability":"release_candidate","brief":"RPC response trailers or metadata sent after the response payload, `<key>` being the normalized trailer name (lowercase), the value being the trailer values.","note":"Instrumentations SHOULD require an explicit configuration of which trailers are to be captured.\nIncluding all response trailers can be a security risk - explicit configuration helps avoid leaking sensitive information.\n\nFor example, a trailer `my-custom-key` with value `[\"attribute_value\"]` SHOULD be recorded as\nthe `rpc.response.trailer.my-custom-key` attribute with value `[\"attribute_value\"]`\n\nThe attribute value MUST consist of either multiple trailer 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 trailers.\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.dubbo.attributes.span","groupType":"attribute_group","requirementLevel":"opt_in"},{"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.dubbo.call.client","groupType":"span","signalName":"rpc.call.client","requirementLevel":"opt_in"},{"groupId":"span.rpc.dubbo.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":[]}