You may also be interested into looking at a 5 minutes introduction video, where I cover the overall architecture too: https://www.youtube.com/watch?v=ej9y3KILV8g
The architecture is covered here: https://grafana.com/docs/mimir/latest/operators-guide/archit...
There's also an hands-on tutorial here: https://grafana.com/tutorials/play-with-grafana-mimir/
(Note I work on Mimir)
The general takeaway is that you run a minimal prometheus/alertmanager setup that only scrapes the agents, then use a dead man switch-like system to ensure this pipeline keeps working.
Link: https://grafana.com/blog/2021/04/08/how-we-use-metamonitorin...
You can alternately use Prometheus Agent, to save storing the data and running a query engine at the leaf.
You can also use the OpenTelemetry suite to perform the same operation, though this is more appealing if you want some other OpenTelemetry features at the same time. Eg if you prefer the ‘pipeline’ style.
1: https://prometheus.io/docs/prometheus/latest/configuration/c...
Maybe I'm completely misunderstanding.
[0] https://github.com/grafana/mimir/blob/main/docs/sources/tuto...
[1] https://github.com/grafana/mimir/blob/main/docs/sources/tuto...