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

Add a GH action for deploying and verifying dashboards & alerts load OK with quickstart #444

Closed
david-martin opened this issue Feb 28, 2024 · 1 comment · Fixed by #708
Closed
Assignees
Milestone

Comments

@david-martin
Copy link
Member

david-martin commented Feb 28, 2024

Testing will be automated & deploys the dashboards & alerts somewhere.
Suggesting a github action that runs if dashboard or alert files change.
See comment here for suggestion on APIs to confirm dashboards and alerts have loaded ok.

@david-martin david-martin mentioned this issue Feb 28, 2024
8 tasks
@david-martin david-martin changed the title Add a CI job for deploying and verifying dashboards & alerts work with a specific version of Grafana & Prometheus Add a CI job for deploying and verifying dashboards & alerts load OK with quickstart May 27, 2024
@david-martin david-martin changed the title Add a CI job for deploying and verifying dashboards & alerts load OK with quickstart Add a GH action for deploying and verifying dashboards & alerts load OK with quickstart May 28, 2024
@david-martin david-martin added this to the Kuadrant v1 milestone Jun 4, 2024
@ehearneRedHat ehearneRedHat moved this to Todo in Kuadrant Jun 12, 2024
@ehearneRedHat ehearneRedHat self-assigned this Jun 12, 2024
@ehearneRedHat ehearneRedHat moved this from Todo to In Progress in Kuadrant Jun 12, 2024
@ehearneRedHat
Copy link
Contributor

ehearneRedHat commented Jun 13, 2024

Potential checklist

  • Run quickstart and see what dashboards and alert rules are loaded, and manually verify if they loaded in correctly.
  • After verifying what a successful 'load in' looks like, investigate how to create a github action that verifies whether the current dashboard and alert rules load in correctly.
    • Run quickstart and check for success message before proceeding on.
    • Once success, check for all dashboard and alerts having a 'success' status.
    • If failure, list the failed dashboard and alerts, explaining why they failed.
    • Try to make this happen through a list that does not need to be inputted manually. (create a script that checks the contents of examples/alerts (* .yaml) and examples/dashboards (* .json) )
    • Use the HTTP API of both Grafana and Prometheus to check for dashboard names and alert names respectively.

@david-martin david-martin moved this from In Progress to Ready For Review in Kuadrant Jul 5, 2024
@github-project-automation github-project-automation bot moved this from Ready For Review to Done in Kuadrant Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
2 participants