Various of my docker containers export prometheus metrics, however our prometheus installation requires to extract all metrics only from only one endpoint. Unfortunately, this cannot be changed. Thus, I need to aggregate all metrics at one point from with the prometheus installation can scrape the metrics.
Moreover, it would be great if this program or script could provide additional logic on how to deal with the same metrics which are exported by different endpoints. For example, if I just concat the various metric sites together Prometheus has a problem with interpreting identical HELP Texts for the metrics.
Do you know of a way, script or a docker image which can be used to aggregate Prometheus metrics?