CCI-MOC / openshift-usage-scripts

0 stars 3 forks source link

Fix bug where when pods with same names from different namespaces are #51

Closed naved001 closed 5 months ago

naved001 commented 5 months ago

encountered the metrics and definitions are merged together and assigned to a single project.

When we merge the different metrics into an output dictionary, the key used is the pod name but that's not unique. The solution is to use namespace+podname as the key for our dictionary which is unique.