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

Unable to Retrieve CPU Usage Metrics in Grafana for Periods Ranging from 5 Minutes to 12 Hours #4406

Open
RiccardoMengarelli opened this issue Mar 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@RiccardoMengarelli
Copy link

RiccardoMengarelli commented Mar 29, 2024

Describe the bug a clear and concise description of what the bug is.

We are encountering an issue with Grafana where we are unable to retrieve CPU usage metrics for periods ranging from 5 minutes to 12 hours. When we attempt to query Grafana for CPU consumption data within this time frame, the system returns no results; there are no data points or statistics displayed. However, when querying for the same metrics over the past 24 hours, Grafana successfully displays all relevant data. This indicates that the data exists within the system but is not being visualized for shorter time periods.

Here last 24 hours
image

here last 12 hours
image

Grafana Version: Grafana Loki 2.8.2

Any assistance or guidance on resolving this issue would be greatly appreciated. Thank you.

What's your kubectl version?

Client Version: version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.2", GitCommit:"fc04e732bb3e7198d2fa44efa5457c7c6f8c0f5b", GitTreeState:"clean", BuildDate:"2023-02-22T13:39:03Z", GoVersion:"go1.19.6", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v4.5.7
Server Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.2+k3s1", GitCommit:"53c268d8eb90ceea5e1c7865f89db5c7fb8763bc", GitTreeState:"clean", BuildDate:"2022-09-28T16:30:25Z", GoVersion:"go1.19.1", Compiler:"gc", Platform:"linux/amd64"}

What happened?

We are encountering an issue with Grafana where we are unable to retrieve CPU usage metrics for periods ranging from 5 minutes to 12 hours. When we attempt to query Grafana for CPU consumption data within this time frame, the system returns no results; there are no data points or statistics displayed. However, when querying for the same metrics over the past 24 hours, Grafana successfully displays all relevant data. This indicates that the data exists within the system but is not being visualized for shorter time periods.

What you expected to happen?

To see also 12h data on the dashboard

On the web UI, trying to see last 12h data.

Anything else we need to know?

No response

@RiccardoMengarelli RiccardoMengarelli added the bug Something isn't working label Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant