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

some metrics broken when sampling frequency >= 1min #5257

Open
nfi-opsguru opened this issue Apr 20, 2022 · 0 comments
Open

some metrics broken when sampling frequency >= 1min #5257

nfi-opsguru opened this issue Apr 20, 2022 · 0 comments
Labels
area/metrics All the things related to metrics bug Something isn't working

Comments

@nfi-opsguru
Copy link

Certain metrics don't appear when the prometheus instance in question has a sampling interval >= 1min.

Had a look into and it's probably because rate queries are hard-coded to 1m:

readonly rateAccuracy: string = "1m";
Indeed if I query this by hand, it is empty. rate needs a window >= 2 * sampling interval.

Pretty sure #5052 is the same sort of issue.

You'd probably have to make that configurable or derive it somehow, like Grafana does.

@nfi-opsguru nfi-opsguru added the bug Something isn't working label Apr 20, 2022
@Nokel81 Nokel81 added area/metrics All the things related to metrics bug Something isn't working and removed bug Something isn't working labels Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/metrics All the things related to metrics bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants