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,