HAClusterLabel returns the cluster label to look for when deciding whether to accept a sample from a Prometheus HA replica.
(userID string)
| 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 { |
| 671 | return o.GetOverridesForUser(userID).HAClusterLabel |
| 672 | } |
| 673 | |
| 674 | // HAReplicaLabel returns the replica label to look for when deciding whether to accept a sample from a Prometheus HA replica. |
| 675 | func (o *Overrides) HAReplicaLabel(userID string) string { |
nothing calls this directly
no test coverage detected