Back to articles
Grafana Mimir Has a Free API: Horizontally Scalable Prometheus Without the Pain
NewsDevOps

Grafana Mimir Has a Free API: Horizontally Scalable Prometheus Without the Pain

via Dev.to DevOpsAlex Spinov

Prometheus is great until you have 100 million active time series. Then it falls over. Grafana Mimir doesn't. What Is Grafana Mimir? Grafana Mimir is a horizontally scalable, highly available, multi-tenant time series database for Prometheus metrics. It's 100% Prometheus-compatible — same PromQL, same remote write API — but scales to billions of series. Drop-In Prometheus Replacement Point your existing Prometheus at Mimir and everything just works: # prometheus.yml — just add remote_write remote_write : - url : http://mimir:9009/api/v1/push That's it. Your Prometheus metrics now flow into a scalable backend. All your dashboards, alerts, and recording rules continue working. The API Mimir exposes a Prometheus-compatible query API: # Instant query curl 'http://mimir:9009/prometheus/api/v1/query?query=up' # Range query curl 'http://mimir:9009/prometheus/api/v1/query_range?query=rate(http_requests_total[5m])&start=2024-01-01T00:00:00Z&end=2024-01-02T00:00:00Z&step=60' # Series metadata cu

Continue reading on Dev.to DevOps

Opens in a new tab

Read Full Article
5 views

Related Articles