metrics-agent icon indicating copy to clipboard operation
metrics-agent copied to clipboard

Costs/usage deduplication for Services

Open vladiceanu opened this issue 3 years ago • 0 comments

We have a Statefulset that consists of 3 Pods and 4 services (3 services pointing to each Pod individually and 1 service pointing to all 3 Pods). When we access Containers insights, we observe that all 4 services are reporting Usage and Costs, which results in false costs representation - basically, costs are shown as almost double. Please see the screenshot below.

Screenshot Screenshot 2022-06-21 at 11 58 28 AM

Could this behavior be improved on the agent side? As an idea, let's say if the resources (Pods) behind the multiple services are matching, do not include the Usage (CPU & Memory mainly) for the service that includes all the pods, or vice-versa.

vladiceanu avatar Jun 21 '22 10:06 vladiceanu