Update MetricsMvcEndpoint and EnvironmentMvcEndpoint to support regex filter of names. See gh-2252 Add it