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 #4511

Closed
wants to merge 1 commit into from

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 one 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:04
Copy link
Member

@zroubalik zroubalik left a comment

Choose a reason for hiding this comment

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

LGTM, thanks! nice addition

@zroubalik zroubalik enabled auto-merge (squash) May 2, 2023 12:06
@zroubalik
Copy link
Member

@jrRibeiro could you please fix the DCO?

auto-merge was automatically disabled May 2, 2023 12:10

Head branch was pushed to by a user without write access

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>
@jrRibeiro jrRibeiro closed this May 2, 2023
@jrRibeiro jrRibeiro deleted the fix_dashboard branch May 2, 2023 12:28
@jrRibeiro
Copy link
Contributor Author

@zroubalik I opened a new PR #4513, I was having issues rebasing the branch.

Thanks! 👍

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