grafana/mimir

Docs: document that instances registered in the same ring running need different instance-id

Open

#2,927 opened on Sep 9, 2022

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Go (808 forks)auto 404
hacktoberfestkeep-alivetype/docs

Repository metrics

Stars
 (5,181 stars)
PR merge metrics
 (PR metrics pending)

Description

Instances registered in the same ring (eg. distributors and distributor-ring) need to have different "instance ID" used as key in the ring. Normally instance-id is computed from hostname, but if multiple instances run on the same host, this is not enough, and one has to configure instance-id to avoid colliding names.

Based on Slack discussion: https://grafana.slack.com/archives/C039863E8P7/p1662707034663459

Contributor guide