Skip to content

Commit

Permalink
Add optimized cluster overview dashboard
Browse files Browse the repository at this point in the history
This optimized dashboard mainly lowers the cardinality of the CPU
metrics. Specifically instead of using `avg(rate(node_cpu_seconds_total`
which has a cardinality of total CPUs across all managed clusters, we
instead use `cluster:node_cpu:ratio` which has a cardinality of 1 per
cluster.

That is with 100 clusters, with 16 CPUs, the cardinality before was
100*16 = 1600, where as with this change we now only fetch 100 metrics.

This should scale quite a bit better on larger installations with many
clusters/nodes.

Signed-off-by: Jacob Baungard Hansen <[email protected]>
  • Loading branch information
jacobbaungard committed May 27, 2024
1 parent 29695d9 commit 6ae7ecf
Show file tree
Hide file tree
Showing 2 changed files with 1,911 additions and 0 deletions.
Loading

0 comments on commit 6ae7ecf

Please sign in to comment.