Skip to content

Commit

Permalink
Only use Pod data source for Network unattributed costs
Browse files Browse the repository at this point in the history
  • Loading branch information
samdoran committed Jul 12, 2024
1 parent 12de670 commit 15ee674
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -843,6 +843,8 @@ WHERE ocp.source = {{ocp_source_uuid}}
AND aws.month = {{month}}
-- Network related costs
AND aws.data_transfer_direction IS NOT NULL
-- Storage and Pod can have the same resource_id and we want the Pod
AND ocp.data_source = 'Pod'
GROUP BY
aws.uuid,
ocp.node,
Expand Down

0 comments on commit 15ee674

Please sign in to comment.