Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix empty grafana dashboards #11

Merged
merged 4 commits into from
Jan 26, 2024
Merged

Fix empty grafana dashboards #11

merged 4 commits into from
Jan 26, 2024

Conversation

puffitos
Copy link
Member

Motivation

Closes #10

I've also updated the chart version and made building the charts possible only on the main branch.

Tests done

I've tested the base query:

sum by (container_namespace)(
  (
    increase(kepler_container_dram_joules_total{container_namespace=~".*", pod_name=~".*"}[24h:1m]) +
    increase(kepler_container_other_joules_total{container_namespace=~".*", pod_name=~".*"}[24h:1m]) +
    increase(kepler_container_package_joules_total{container_namespace=~".*", pod_name=~".*"}[24h:1m])
  ) * 0.000000277777777777778
)

As well as the other [1m] -> [5m] queries. The all seem to work.

@puffitos puffitos requested a review from eumel8 January 25, 2024 11:03
@puffitos puffitos self-assigned this Jan 25, 2024
Copy link
Member

@eumel8 eumel8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great! thx!

@puffitos puffitos merged commit 0c58f59 into main Jan 26, 2024
1 check passed
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.

Grafana dashboards aren't populated properly when the scrape config interval is too high
2 participants