prometheus: config: scrape_configs: - job_name: rename metric_relabel_configs: - source_labels: [__name__] regex: "foo_(.*)" target_label: __name__