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

ceph-mixin: rewrite promql queries to multiline #45581

Merged
merged 1 commit into from May 13, 2022

Conversation

MrFreezeex
Copy link
Member

Fixes: https://tracker.ceph.com/issues/55005
Signed-off-by: Arthur Outhenin-Chalandre arthur.outhenin-chalandre@cern.ch

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows

@MrFreezeex MrFreezeex requested a review from a team as a code owner March 23, 2022 11:54
@MrFreezeex MrFreezeex requested review from avanthakkar and nizamial09 and removed request for a team March 23, 2022 11:54
@MrFreezeex
Copy link
Member Author

MrFreezeex commented Mar 23, 2022

As promised in #44059 here is a rewrite of "long" (long = subjective appreciation) promql queries. I don't have any automatic tools that check and reformat those, so it's by hand unfortunately. Feel free to comment on the style that I chose, no guarantee that it's fully consistent everywhere as there is quite some code here 😅.

Also there shouldn't be any change to the queries itself but as everything is hand made I could have made some mistakes...

@avanthakkar avanthakkar requested review from aaSharma14 and removed request for avanthakkar March 24, 2022 09:10
@github-actions
Copy link

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@epuertat epuertat added this to In progress in Dashboard via automation Apr 22, 2022
Fixes: https://tracker.ceph.com/issues/55005
Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
@MrFreezeex
Copy link
Member Author

MrFreezeex commented Apr 27, 2022

Not sure why the ceph dashboards e2e test are failing, this was really painful to rebase though so I hope I didn't break anything...

@epuertat
Copy link
Member

Not sure why the ceph dashboards e2e test are failing, this was really painful to rebase though so I hope I didn't break anything...

Thanks a lot! This is a really thorough work, @MrFreezeex ! We'll do our best not to merge anything that forces you to rebase this again 😅

@epuertat
Copy link
Member

BTW, the failures might be unrelated. Let's see.

@MrFreezeex
Copy link
Member Author

jenkins test dashboard

@MrFreezeex
Copy link
Member Author

MrFreezeex commented May 12, 2022

Now the CI is happy :D. Note that I have other improvments/cleanup to do once this is merged.

Dashboard automation moved this from In progress to Reviewer approved May 12, 2022
@epuertat epuertat merged commit cfa5d0f into ceph:master May 13, 2022
Dashboard automation moved this from Reviewer approved to Done May 13, 2022
@epuertat
Copy link
Member

Merged! Thanks a lot @MrFreezeex for your clean up here!

@MrFreezeex
Copy link
Member Author

Merged! Thanks a lot @MrFreezeex for your clean up here!

No worries, there are follow up coming as well on other stuff :p

@epuertat
Copy link
Member

Great!

In case you're looking for more stuff to tackle: one area we want to harden further is Grafana dashboards testing. For that purpose, besides the promtool tests, @nizamial09 recently introduced BDD e2e/integration testing for Grafana. Those "just" check the "hosts" and the RGW Grafana dashboards, so it'd be great to extend it to other Grafana dashboards too, and perhaps measure coverage, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Dashboard
  
Done
3 participants