Skip to content

Commit

Permalink
Fix and update scripts for generating grafana dashboards (#4382)
Browse files Browse the repository at this point in the history
* Small corrections to dashboard generation scripts

Signed-off-by: Thomas Newton <[email protected]>

* New generated dashboards

Signed-off-by: Thomas Newton <[email protected]>

* Avoid many-to-many mapping

Signed-off-by: Thomas Newton <[email protected]>

* Multiply by 100 for a percentage

Signed-off-by: Thomas Newton <[email protected]>

* Update user dashboard

Signed-off-by: Thomas Newton <[email protected]>

* Fix `make stats` without hacking grafanalib library

Signed-off-by: Thomas Newton <[email protected]>

* Revert extra filter needed in our setup

Signed-off-by: Thomas Newton <[email protected]>

* Delete unused metrics related yaml

Signed-off-by: Thomas Newton <[email protected]>

* Update flyteuser dashboard

Signed-off-by: Thomas Newton <[email protected]>

* Fix for flyteadmin replicas

---------

Signed-off-by: Thomas Newton <[email protected]>
Co-authored-by: Eduardo Apolinario <[email protected]>
  • Loading branch information
Tom-Newton and eapolinario authored Nov 14, 2023
1 parent 712ee8e commit 4f2a164
Show file tree
Hide file tree
Showing 8 changed files with 5,883 additions and 2,944 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ doc-requirements.txt: doc-requirements.in install-piptools

.PHONY: stats
stats:
@generate-dashboard -o deployment/stats/prometheus/flytepropeller-dashboard.json stats/flytepropeller_dashboard.py
@generate-dashboard -o deployment/stats/prometheus/flyteadmin-dashboard.json stats/flyteadmin_dashboard.py
@generate-dashboard -o deployment/stats/prometheus/flyteuser-dashboard.json stats/flyteuser_dashboard.py
@generate-dashboard -o deployment/stats/prometheus/flytepropeller-dashboard.json stats/flytepropeller.dashboard.py
@generate-dashboard -o deployment/stats/prometheus/flyteadmin-dashboard.json stats/flyteadmin.dashboard.py
@generate-dashboard -o deployment/stats/prometheus/flyteuser-dashboard.json stats/flyteuser.dashboard.py

.PHONY: prepare_artifacts
prepare_artifacts:
Expand Down
Loading

0 comments on commit 4f2a164

Please sign in to comment.