<#4382 Fix and update scripts for generating grafa...
# flyte-github
a
#4382 Fix and update scripts for generating grafana dashboards Pull request opened by Tom-Newton Tracking issue Closes #4346 Describe your changes • Rename dashboard generation files so that grafana lib's
generate-dashboard
command works correctly. Previously we were getting
grafanalib._gen.DefinitionError: Definition /tmp/flyte/stats/flytepropeller_dashboard.py does not define a variable '/tmp/flyte/stats/flytepropeller_dashboard'
• Update generation scripts where the metric names have changed. • Add a multiply by 100 on some graphs that where supposed to show percentage. • Ensure RefIds are unique. I was getting errors from grafana when trying to view these dashboards. • Update the checked in dashboard `json`s • I based all these changes on a
flyte-core
deployment. The metric names might be difference on
flyte-binary
• Changed the aggregation from sum to max on the flyteadmin latencies. Sum would always return a blank graph when using more than one flyteadmin replica. Check all the applicable boxes ☑︎ I updated the documentation accordingly - I think the documentation was already correct ☐ All new and existing tests passed - perhaps we could add a test to ensure
make stats
works but probably it will be difficult to check that all the metric names are correct ☑︎ All commits are signed-off. Screenshots

image▾

Note to reviewers I went through all the graphs in the dashboards to confirm either they have data or there is a valid reason for them not to show anything and that the metrics they use are exposed by flyte. flyteorg/flyte ✅ All checks have passed 30/30 successful checks