grpc/test/cpp/ext/otel
Craig Tiller 58b254dacf [call-v3] Channel filter construction returns pointers (#36355)
Currently channel filter construction returns a `StatusOr<T>`, this change makes it return a `StatusOr<P<T>>` where P is `unique_ptr`, `OrphanablePtr`, `RefCountedPtr`, `DualRefCountedPtr`, etc (most of the code really doesn't need to know, so I'm choosing to leave the flexibility).

That smart pointer is then stored in the channel stack instance, and dereferenced when needed.

This means that channel filters no longer need to be movable (which is a nice simplification), and puts these level-1 filters on a similar memory management track as the level-2 filters we have planned.

(this change also converts client load reporting to v3 apis -- it's a bit accidentally picked up, but seems ok to pull through too)

Closes #36355

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36355 from ctiller:objectify-me 0eb054b748
PiperOrigin-RevId: 625390977
2024-04-17 01:10:30 +00:00
..
BUILD [Metrics] New OpenTelemetry Plugin Implementation of Stats Plugin (#36070) 2024-03-23 19:37:26 -07:00
otel_plugin_test.cc [OTel C++] Add experimental optional locality label available to client per-attempt metrics (#36254) 2024-04-08 15:52:59 -07:00
otel_test_library.cc [call-v3] Channel filter construction returns pointers (#36355) 2024-04-17 01:10:30 +00:00
otel_test_library.h [clang-format] Remove requirement that port_platform.h is at the top (#36281) 2024-04-09 08:58:34 -07:00