Hi,
I have an expression of a recording rule named
node:node_num_cpu:sum and
I am planning to add this rule to Thanos-Rule component but it fails in Thanos-Query itself with the error message:
many-to-many matching not allowed: matching labels must be unique on one side (attached screenshot here with too. Please find the attachment.)
Here is the query:
count by (cluster, node) (sum by (node, cpu) (
node_cpu_seconds_total{job="node-exporter"}
* on (namespace, pod) group_left(node)
node_namespace_pod:kube_pod_info:
))
Similarly, there are around about 50 other recording and alerting rules which are affected.
Thank you for your time and consideration.
Sincerely,
Ramprasath A