When introspecting metric definition the Python client returns metric type of (in json) counter, gauge or string (single noun). If I want to build dynamic query to fetch metric data based on the returned definition I would have convert the returned type gauge into MetricType.Gauge whose string representation is gauges (plural). It would be convenient to pass the same returned type to query_metric(type, metric_id).
When introspecting metric definition the Python client returns metric type of (in json)
counter,gaugeorstring(single noun). If I want to build dynamic query to fetch metric data based on the returned definition I would have convert the returned typegaugeintoMetricType.Gaugewhose string representation isgauges(plural). It would be convenient to pass the same returned type toquery_metric(type, metric_id).