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

Prometheus: make chart range configurable. #82

Open
feym78 opened this issue Sep 2, 2024 · 1 comment
Open

Prometheus: make chart range configurable. #82

feym78 opened this issue Sep 2, 2024 · 1 comment

Comments

@feym78
Copy link

feym78 commented Sep 2, 2024

Hi!
Noticed that time range for prometheus chart is hardcoded as 10 minutes - https://github.com/headlamp-k8s/plugins/blob/main/prometheus/src/chart.tsx#L45
Is it possible to make it configurable in grafana style?
image

At least for wider time range like 1-60 minutes. May be free choice of range or predefined, like 10, 20, 30, 40, 50, 60.. etc minutes.
Ten minutes looks too small for debug purposes.
Thanks.

@feym78
Copy link
Author

feym78 commented Nov 12, 2024

Hi!
Noticed that in the new version of prometheus plugin now there is setting for default timespan. Great job, this is really a big improvement!
Is it possible to make the similar dropdown in recourse-level view? Like change it in a pod and etc page granularly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants