grpc/test/cpp/ext
Yash Tibrewal 108ee944df [CSM] Fix CSM Observability for trailers-only response (#36413)
Before this change, on a trailers-only response, Metadata Exchange needed by CSM would just be dropped, and hence CSM labels would not be seen.

Changes -
* OTel call attempt tracer populates labels from trailers if it's a trailers-only response.
* HTTP2 layer propagates the Metadata Exchange field from headers to trailers for trailers-only responses.
* Add a test to make sure that retries continue to work when Metadata Exchange is enabled and a trailers-only response is sent. (This verifies that a trailers-only response remains a trailers-only response.)

Closes #36413

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36413 from yashykt:MetadataExchangeInTrailers e7d202685e
PiperOrigin-RevId: 630144618
2024-05-02 12:32:56 -07:00
..
csm [CSM] Fix CSM Observability for trailers-only response (#36413) 2024-05-02 12:32:56 -07:00
filters [reorg] move test/core/util -> test/core/test_util (#36446) 2024-04-29 17:06:40 -07:00
gcp [reorg] move test/core/util -> test/core/test_util (#36446) 2024-04-29 17:06:40 -07:00
otel [CSM] Fix CSM Observability for trailers-only response (#36413) 2024-05-02 12:32:56 -07:00
BUILD [reorg] move test/core/util -> test/core/test_util (#36446) 2024-04-29 17:06:40 -07:00
chaotic_good_test.cc [reorg] move test/core/util -> test/core/test_util (#36446) 2024-04-29 17:06:40 -07:00