def create_metrics(self,<EOL>configs: Iterable[MetricConfig]) -> Dict[str, Metric]:
metrics: Dict[str, Metric] = {<EOL>config.name: self._register_metric(config)<EOL>for config in configs<EOL>}<EOL>self._metrics.update(metrics)<EOL>return metrics<EOL>
Create Prometheus metrics from a list of MetricConfigs.