Add feature flag to be used when switching away from old way of doing metrics checks
@@ -160,6 +160,12 @@ public class Flags {
"Takes effect on restart of config server",
NODE_TYPE, HOSTNAME);
+ public static final UnboundBooleanFlag USE_OLD_METRICS_CHECKS = defineFeatureFlag(
+ "use-old-metrics-checks", true,
+ "Whether to use old metrics checks",
+ "Takes effect on restart of Docker container",
+ NODE_TYPE, HOSTNAME);
+
/** WARNING: public for testing: All flags should be defined in {@link Flags}. */
public static UnboundBooleanFlag defineFeatureFlag(String flagId, boolean defaultValue, String description,
String modificationEffect, FetchVector.Dimension... dimensions) {
