mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-27 06:29:42 -08:00
retrieval: kubernetes nodes are not namespaced
This commit is contained in:
parent
a318d9ad27
commit
cc46058802
|
@ -78,7 +78,7 @@ func (n *Node) Run(ctx context.Context, ch chan<- []*config.TargetGroup) {
|
|||
}
|
||||
|
||||
func nodeSource(n *apiv1.Node) string {
|
||||
return "node/" + n.Namespace + "/" + n.Name
|
||||
return "node/" + n.Name
|
||||
}
|
||||
|
||||
const (
|
||||
|
|
Loading…
Reference in a new issue