Hello,
In my application, I'd like to be able to periodically collect metrics on the gRPC internals from grpc_core::GlobalStats` struct. I found a test (test/core/end2end/tests/simple_request.cc) where these are accessed with the call `grpc_core::global_stats()`; however, the unit test uses internal include files ("src/core/lib/debug/stats_data.h"), which aren't part of the public API.
Is there another way to gain access to this struct from library clients?
Thanks,
Davor