I have a system where instances can be added at any time. Metric collection becomes difficult since its hard to gather updated information on all the scrape targets. I wanted to use a pushgateway at a static IP to ingest the metrics from all instances.
Unfortunatey the service running on these instances only offers a prometheus scrape endpoint (pull). Is it possible for me to add a second service that can scrape the first one (locally) and push the metrics to the pushgateway at the static IP? This second service would act purely as a forwarder.