AcceptMixedHASamples returns whether the distributor should track and accept samples from mixed HA replicas for this user.
(userID string)
| 663 | |
| 664 | // AcceptMixedHASamples returns whether the distributor should track and accept samples from mixed HA replicas for this user. |
| 665 | func (o *Overrides) AcceptMixedHASamples(userID string) bool { |
| 666 | return o.GetOverridesForUser(userID).AcceptMixedHASamples |
| 667 | } |
| 668 | |
| 669 | // HAClusterLabel returns the cluster label to look for when deciding whether to accept a sample from a Prometheus HA replica. |
| 670 | func (o *Overrides) HAClusterLabel(userID string) string { |
nothing calls this directly
no test coverage detected