Skip to content

Commit

Permalink
Added more jobs to test Grafana and Prometheus in ci-cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
maty314 committed Jul 5, 2024
1 parent 4b4b922 commit 8389ef1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ jobs:
exit 1
fi
- name: Check Grafana Dashboard
- name: Check Grafana Dashboard #being adqssyxe0dkaoa the uid of CPU dashboard out of the box
run: |
response=$(curl -s http://localhost:3000/api/dashboards/uid/your-dashboard-uid -u admin:admin)
response=$(curl -s http://localhost:3000/api/dashboards/uid/adqssyxe0dkaoa -u admin:admin)
if [[ $response != *"cpu"* ]]; then
echo "CPU dashboard not found"
exit 1
Expand Down

0 comments on commit 8389ef1

Please sign in to comment.