Pod resources allocated is doubled

I have deployed kubestate metric and Opencost, but for different dashboards I get duplicate values.

Because it is usually a sum on CPU or RAM resources.

The metrics can be separated by job!=“opencost” but I don’t have the possibility to go over all charts and queries. Because it’s not the first time I have this problem for example when I tried to have two replicates for statemetric result in duplicates everywhere…

I’m trying to find a global way like excluding metrics by datasource for example.

Would this be possible? Or maybe you have a better idea.
Thanks by advance