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

Update kube prometheus #656

Merged
merged 3 commits into from
May 17, 2024
Merged

Update kube prometheus #656

merged 3 commits into from
May 17, 2024

Conversation

david-martin
Copy link
Contributor

There are 3 related changes in this PR:

  • Updating the kube-prometheus version from 0.11 to 0.13. This updates the version of Grafana from 8 to 9.
  • As a result of the Grafana update, all example dashboards have be re-exported from Grafana 9
  • To make it easier to ensure the dashboards are in the right format for sharing and for configmap use, a make target has been added make dashboard-cleanup that runs the already existing universal-dashboard.sh script on all dashboard json files. The readme has been udpated to reflect this change.

1 other small change is a height increase to 1 to a table in the app developer dashboard as it is cropped after the upgrade to Grafana 9.

To verify, run the quickstart-setup.sh locally, port forward to the grafana service and verify the dashboards all imported OK and look reasonable.

@david-martin david-martin requested a review from a team as a code owner May 16, 2024 16:38
Copy link

codecov bot commented May 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.47%. Comparing base (ece13e8) to head (56ddb0f).
Report is 98 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #656      +/-   ##
==========================================
+ Coverage   80.20%   82.47%   +2.26%     
==========================================
  Files          64       72       +8     
  Lines        4492     5414     +922     
==========================================
+ Hits         3603     4465     +862     
- Misses        600      637      +37     
- Partials      289      312      +23     
Flag Coverage Δ
integration 74.10% <ø> (+2.81%) ⬆️
unit 33.74% <ø> (+3.71%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
api/v1beta1 (u) 71.42% <ø> (ø)
api/v1beta2 (u) 93.58% <100.00%> (+2.16%) ⬆️
pkg/common (u) 83.78% <ø> (-5.05%) ⬇️
pkg/istio (u) 75.86% <ø> (+1.94%) ⬆️
pkg/log (u) 100.00% <ø> (+5.26%) ⬆️
pkg/reconcilers (u) ∅ <ø> (∅)
pkg/rlptools (u) 79.84% <ø> (+0.39%) ⬆️
controllers (i) 80.53% <83.01%> (+3.73%) ⬆️

see 32 files with indirect coverage changes

@ehearneRedHat
Copy link
Contributor

👀

Copy link
Contributor

@ehearneRedHat ehearneRedHat left a comment

Choose a reason for hiding this comment

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

@david-martin tested locally - all dashboards imported ok and looked reasonable. Also tested the new make target which works well. I made a suggestion to add where to save the files so that the make target can pick them up - feel free to commit suggestion if you like.

Either way, looks good to merge :)

Co-authored-by: Evan Hearne <156197717+ehearneRedHat@users.noreply.github.com>
@david-martin
Copy link
Contributor Author

Thanks @ehearneRedHat
I've added your suggestion.

@david-martin david-martin merged commit 57bf1e8 into main May 17, 2024
23 checks passed
@david-martin david-martin deleted the update-kube-prometheus branch May 17, 2024 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants