Change ConfigMetrics from Array to Dictionary, two benefits:
We could check if this config is added in o(1) complexity. Previous design is o(n). A config could be read many times. In worst cases, List ConfigMetrics may contain same config info and exceed space limit
We can define nickname for config. Take LoginExperienceV2 for instance, we can add
ConfigMetrics.Add(ConfigKeys.LoginExperienceV2, new ConfigMetrics(ConfigKeys.LoginExperienceV2, "LoginExperienceVTwo", "On")) for telemetry as our database can't recognize number value in telemetry field.
-- no breaking change is introduced as ConfigMetrics is never used yey.
Change ConfigMetrics from Array to Dictionary, two benefits:
-- no breaking change is introduced as ConfigMetrics is never used yey.