HI,
I have a query like below:
container_memory_working_set_bytes{cluster="$cluster",
container="my-container", namespace="my-namespace"} / on (pod)
kube_pod_container_resource_requests{cluster="$cluster",namespace="my-namespace",container="my-container",resource="memory"}
this query failed and report an error like below, but per my understanding,
they have different 'Pod' labels,
Has anyone dealt with this specific error and can you recommend something?
Unprocessable Entity: found duplicate series for the match group {} on the
right hand-side of the operation:
[{__name__="kube_pod_container_resource_requests", Cluster="my-cluster",
Container="my-container",
Instance="prometheus-collector-mdm-kube-state-metrics.mdm-monitoring.svc.cluster.local:8080",
job="kube-state-metrics", Namespace="my-namespace", Node="node-vmss000001",
Pod="pod-1-3-0", resource="Memory", uid="5fa53ada", unit="byte"},
*{__name__="kube_pod_container_resource_requests",
Cluster="my-cluster", Container="my-container",
Instance="prometheus-collector-mdm-kube-state-metrics.mdm-monitoring.svc.cluster.local:8080",
job="kube-state-metrics", Namespace="my-namespace", Node="node-vmss000001",
Pod="pod-0-0-0", resource="Memory", uid="599c2321", unit="byte"}*];many-to-many
matching not allowed: matching labels must be unique on one side.
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/c5b42395-8eed-4f80-bfd5-fcd7fed72928n%40googlegroups.com.