Menu
Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
DocumentationGrafana MimirSet upDeploy with Jsonnet and TankaMigrate query-scheduler to ring-based service discovery
Open source
Migrate query-scheduler from DNS-based to ring-based service discovery
The query-scheduler supports two service discovery mechanisms:
To migrate the query-scheduler from DNS-based to ring-based service discovery when your Mimir cluster is deployed using Jsonnet:
- Configure the query-scheduler instances to join a ring, but keep the querier and query-frontend instances discovering query-schedulers via DNS:jsonnet
{ _config+:: { query_scheduler_service_discovery_mode: 'ring', query_scheduler_service_discovery_ring_read_path_enabled: false, } }
- Wait until query-scheduler changes have been applied.
- Open the query-scheduler ring status page and ensure all query-scheduler instances are registered to the ring.
- Configure query-frontend and querier instances to discover query-schedulers via the ring:jsonnet
{ _config+:: { query_scheduler_service_discovery_mode: 'ring', query_scheduler_service_discovery_ring_read_path_enabled: true, } }
Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
60 min
Intro to metrics with Grafana: Prometheus, Grafana Mimir, and beyond
In this webinar, we’ll go over challenges when scaling metrics systems, with a particular focus on Prometheus and Grafana Mimir.
Video
Scaling and securing your Prometheus metrics in Grafana Cloud
In this webinar, we’ll go over Grafana Enterprise Metrics (GEM), a simple and scalable Prometheus service that is seamless to use, and simple to maintain
12 min read
Less is more: How Grafana Mimir queries run faster and more cost efficiently with fewer indexes
By avoiding inverted index lookups in the Prometheus TSDB, Mimir's memory usage was reduced by up to 64%.