From f98bd66317e6291db800b2b9b8ebaec279dcff7d Mon Sep 17 00:00:00 2001 From: Nana Pang Date: Tue, 23 Apr 2024 15:03:24 -0700 Subject: [PATCH] [export] [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 --- src/core/telemetry/metrics.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/core/telemetry/metrics.h b/src/core/telemetry/metrics.h index 38a51b442f4..be37e314e1a 100644 --- a/src/core/telemetry/metrics.h +++ b/src/core/telemetry/metrics.h @@ -212,13 +212,14 @@ class GlobalInstrumentsRegistry { static const GlobalInstrumentDescriptor& GetInstrumentDescriptor( GlobalInstrumentHandle handle); + static std::vector& + GetInstrumentList(); + private: friend class GlobalInstrumentsRegistryTestPeer; GlobalInstrumentsRegistry() = delete; - static std::vector& - GetInstrumentList(); static InstrumentID RegisterInstrument( ValueType value_type, InstrumentType instrument_type, absl::string_view name, absl::string_view description,