pull/36757/head
Yash Tibrewal 8 months ago
parent be2433a6b4
commit 7755e98e60
  1. 3
      test/core/test_util/fake_stats_plugin.h

@ -361,8 +361,7 @@ class FakeStatsPlugin : public StatsPlugin {
return nullptr; return nullptr;
} }
bool IsInstrumentEnabled( bool IsInstrumentEnabled(
grpc_core::GlobalInstrumentsRegistry::GlobalInstrumentHandle handle) GlobalInstrumentsRegistry::GlobalInstrumentHandle handle) override {
override {
const auto& descriptor = const auto& descriptor =
GlobalInstrumentsRegistry::GetInstrumentDescriptor(handle); GlobalInstrumentsRegistry::GetInstrumentDescriptor(handle);
return use_disabled_by_default_metrics_ || descriptor.enable_by_default; return use_disabled_by_default_metrics_ || descriptor.enable_by_default;

Loading…
Cancel
Save