[gRPC telemetry] Implement stats plugin for internal users.

----
DO NOT SUBMIT. This PR is for testing purposes only. [cl/627516799](http://cl/627516799)

PiperOrigin-RevId: 627516799
This commit is contained in:
Nana Pang 2024-04-23 15:03:24 -07:00 committed by Copybara-Service
parent 90975282dc
commit f98bd66317
1 changed files with 3 additions and 2 deletions

View File

@ -212,13 +212,14 @@ class GlobalInstrumentsRegistry {
static const GlobalInstrumentDescriptor& GetInstrumentDescriptor(
GlobalInstrumentHandle handle);
static std::vector<GlobalInstrumentsRegistry::GlobalInstrumentDescriptor>&
GetInstrumentList();
private:
friend class GlobalInstrumentsRegistryTestPeer;
GlobalInstrumentsRegistry() = delete;
static std::vector<GlobalInstrumentsRegistry::GlobalInstrumentDescriptor>&
GetInstrumentList();
static InstrumentID RegisterInstrument(
ValueType value_type, InstrumentType instrument_type,
absl::string_view name, absl::string_view description,