This is documentation for the next version of Mimir. For the latest stable release, go to the latest version.
Grafana Mimir Configure About DNS service discovery
About Grafana Mimir DNS service discovery
Some clients in Grafana Mimir support service discovery via DNS to locate the addresses of backend servers to connect to. The following clients support service discovery via DNS:
- Memcached server addresses
- Memberlist KV store
- Alertmanager URL configured in the ruler
Supported discovery modes
DNS service discovery supports different discovery modes. You select a discovery mode by adding one of the following supported prefixes to the address:
The domain name after the prefix is looked up as an A/AAAA query. For example:
The domain name after the prefix is looked up as a SRV query, and then each SRV record is resolved as an A/AAAA record. For example:
The domain name after the prefix is looked up as a SRV query, with no A/AAAA lookup made after that. For example:
The Alertmanager URL must also contain the scheme. For example:
If no prefix is provided, the provided IP or hostname is used without pre-resolving it.
Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles: