Skip to content

Deduplicate total costs by component in general cloud cost dashboards - #107

Merged
jnywong merged 4 commits into
2i2c-org:mainfrom
jnywong:deduplicate-general
Jan 5, 2026
Merged

Deduplicate total costs by component in general cloud cost dashboards#107
jnywong merged 4 commits into
2i2c-org:mainfrom
jnywong:deduplicate-general

Conversation

@jnywong

@jnywong jnywong commented Jan 5, 2026

Copy link
Copy Markdown
Member

The "Group to Matrix" transformation in Grafana was duplicating entries by component. This meant that the "Total" in the legend table was 5x higher than expected (5x because there were 5 components). I fixed this by replacing this transformation by querying the backend separately for each component cost with the ?component=compute parameter.

I also fixed the colours of each component in all panels so that they were consistent.

Before After
Screenshot 2026-01-05 at 16 56 50 Screenshot 2026-01-05 at 16 56 59

@jnywong
jnywong merged commit eb113a9 into 2i2c-org:main Jan 5, 2026
3 checks passed
@jnywong
jnywong deleted the deduplicate-general branch January 5, 2026 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant