News for hackers. Stuff that matters.
Re:Grafana Mimir – Horizontally scalable long-term storage f... by bboreham on Wednesday March 30, 2022 @09:46AM (#30855156)
It’s a centralised multi-tenant store, supporting the Prometheus query API. So you can point clients directly at Mimir, they send in PromQL and they get data back in Json.

(Note I work on Mimir)

Re:Grafana Mimir – Horizontally scalable long-term storage f... by k8sToGo on Wednesday March 30, 2022 @09:50AM (#30855202)
But who does the scraping of the prometheus agents? Mimir or still prometheus server?
Re:Grafana Mimir – Horizontally scalable long-term storage f... by Duologic on Wednesday March 30, 2022 @10:38AM (#30855808)
Last year I wrote a blog post about this exact question: Who watches the watchers?

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...

Re:Grafana Mimir – Horizontally scalable long-term storage f... by bboreham on Wednesday March 30, 2022 @10:01AM (#30855354)
If you have systems exporting metrics in Prometheus style, then you can use Prometheus to scrape them and remote-write to Mimir.

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.

Re:Grafana Mimir – Horizontally scalable long-term storage f... by inkel on Wednesday March 30, 2022 @10:03AM (#30855379)
You configure with Remote Write [1] to the Mimir instance. Then the Prometheus agents will send the metrics to Mimir.

1: https://prometheus.io/docs/prometheus/latest/configuration/c...

Re:Grafana Mimir – Horizontally scalable long-term storage f... by eatonphil on Wednesday March 30, 2022 @09:47AM (#30855169)
Is there an example of running mimir without prometheus?
Re:Grafana Mimir – Horizontally scalable long-term storage f... by bboreham on Wednesday March 30, 2022 @09:54AM (#30855273)
For example sending metrics from an OpenTelemetry pipeline.

Mimir accepts the Prometheus remote-write api, which is protobuf-over-http; can be generated by anything really.