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(config/grafana): use range for HPA metrics #4513

Merged
merged 1 commit into from
May 2, 2023

Conversation

jrRibeiro
Copy link
Contributor

Use range instead of instant for HPA current/max replicas (time based).

Right now, we are using the instant selector, which given that the panel should be time-based (as per the title), it should use a range selector, thus getting all metrics in a given timeframe, not just the last data point.

Also, moved from bars to lines because bars are hard to visualize using ranges containing several days worth of data.

Before:
Screenshot 2023-04-26 at 19 29 15

After:
Screenshot 2023-04-26 at 19 28 50

Checklist

@jrRibeiro jrRibeiro requested a review from a team as a code owner May 2, 2023 12:31
Use range instead of instant for HPA current/max replicas (time based).

Right now, we are using the instant selector, which given that the panel
should be time-based (as per the title), it should use a range selector,
thus getting all metrics in a given timeframe.

Also, moved from bars to lines because bars are hard to visualize using
ranges containing several days worth of data.

Signed-off-by: Ricardo Ribeiro <j.ribeiro.fafe@gmail.com>
@tomkerkhove tomkerkhove merged commit afe2c5e into kedacore:main May 2, 2023
JorTurFer pushed a commit to JorTurFer/keda that referenced this pull request May 2, 2023
geoffrey1330 pushed a commit to geoffrey1330/keda that referenced this pull request Oct 4, 2023
Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants