grpc/include
Yash Tibrewal 8f2245d0a7 [CSM] Disable metrics recording when CsmObservability goes out of scope (#35835)
As discussed, this change adds scoping to `CsmObservability` such that when that object goes out of scope, new channels and servers don't record metrics. In the documentation, I've talked about how existing channels/servers are going to continue to record metrics but i've left room for us to change that behavior in the future.

The current way of doing this is through a global bool since there can only be one plugin right now, but we'll change this to use the global stats plugin registry in the future.

Closes #35835

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35835 from yashykt:DisableCsmObsOnScope 33a7c2f7bc
PiperOrigin-RevId: 605468117
2024-02-08 17:07:25 -08:00
..
grpc Adding clang format file to each folder (#35722) 2024-01-29 15:09:22 -08:00
grpc++ Adding clang format file to each folder (#35724) 2024-01-29 20:18:30 -08:00
grpcpp [CSM] Disable metrics recording when CsmObservability goes out of scope (#35835) 2024-02-08 17:07:25 -08:00