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

Provide Labels and/or Units for Ordinates? #1728

Open
martin-aders opened this issue Sep 4, 2024 · 2 comments
Open

Provide Labels and/or Units for Ordinates? #1728

martin-aders opened this issue Sep 4, 2024 · 2 comments

Comments

@martin-aders
Copy link

On the Grafana dashboards in OpenShift, I wonder why the ordinates are not labeled. Example: "API Request Duration by Verb - 99th Percentile" metric had a peak of "4" on a cluster. Now I'm used to read response times in milliseconds. Only when opening the details via "Inspect" in a separate tab I see that the metric rather uses seconds instead of milliseconds. "4ms" is less worrying than "4s" for a response time. Is there a specific reason that axes are never labeled? Either axis labels or unit names would help to read the charts more quickly without zooming into each metric separately.

@openshift-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci openshift-ci bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 4, 2024
@martin-aders
Copy link
Author

/remove-lifecycle stale

Confirming that the y-axis still lacks units ("ms" in this case) as of OCP 4.17.5 and on the main branch. I compared the source with the etcd-dashboard which does use units on the y axis. The main difference I could find was the usage of "short" format (no unit displayed) vs the "s" format (for use with metrics in seconds). For milliseconds "ms" seems to be used but the metrics are all in seconds for the whole dashboard.

Here's the diff between the mentioned apiserver metric and the etcd dashboard "Disk Sync Duration":
image

Suggestion: Use the unit "s" instead of "short" for all 7 dashboards which have "duration" in the title to display the time unit second on the y axis:

  • "API Request Duration by Verb - 99th Percentile" -> apiserver_request_duration_seconds_bucket
  • "etcd Request Duration - 99th Percentile" -> etcd_request_duration_seconds_bucket
  • "Request Duration by Resource and Verb - 99th Percentile" -> apiserver_request_duration_seconds_bucket
  • "Request Duration by Read vs Write - 99th Percentile" -> apiserver_request_duration_seconds_bucket
  • "Priority & Fairness: Request Wait Duration - 99th Percentile" -> apiserver_flowcontrol_request_wait_duration_seconds_bucket
  • "Priority & Fairness: Request Execution Duration - 99th Percentile" -> apiserver_flowcontrol_request_execution_seconds_bucket
  • "Server Filter Duration - 99th Percentile" -> apiserver_request_filter_duration_seconds_bucket

Hope that makes the issue more specific and the solution clearer (replace 7x the term "short" by "s"). Would that be acceptable to change or is there anything I don't know that could block this change?

@openshift-ci openshift-ci bot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 5, 2024
martin-aders added a commit to martin-aders/cluster-kube-apiserver-operator that referenced this issue Dec 5, 2024
…rformance_dashboard.yaml

Solves issue openshift#1728 by replacing the unit-less "short" format by "s" for seconds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants