diff --git a/source/common/router/rds_impl.h b/source/common/router/rds_impl.h index ae9460ce3323..b7dcb4a817bd 100644 --- a/source/common/router/rds_impl.h +++ b/source/common/router/rds_impl.h @@ -99,8 +99,8 @@ class StaticRouteConfigProviderImpl : public RouteConfigProvider { */ #define ALL_RDS_STATS(COUNTER, GAUGE) \ COUNTER(config_reload) \ - GAUGE(config_reload_time_ms, NeverImport) \ - COUNTER(update_empty) + COUNTER(update_empty) \ + GAUGE(config_reload_time_ms, NeverImport) /** * Struct definition for all RDS stats. @see stats_macros.h diff --git a/source/common/router/scoped_rds.h b/source/common/router/scoped_rds.h index badab700b6d2..65898e81bda3 100644 --- a/source/common/router/scoped_rds.h +++ b/source/common/router/scoped_rds.h @@ -84,9 +84,9 @@ class InlineScopedRoutesConfigProvider : public Envoy::Config::ImmutableConfigPr // clang-format off #define ALL_SCOPED_RDS_STATS(COUNTER, GAUGE) \ COUNTER(config_reload) \ - GAUGE(config_reload_time_ms, NeverImport) \ COUNTER(update_empty) \ GAUGE(all_scopes, Accumulate) \ + GAUGE(config_reload_time_ms, NeverImport) \ GAUGE(on_demand_scopes, Accumulate) \ GAUGE(active_scopes, Accumulate)