test-infra
test-infra copied to clipboard
WIP: Adding dashboard directory for grafana dashboards and script to combine the dashboards
- fixes: https://github.com/prometheus/test-infra/issues/420
- Changes:
- Moving grafana-dashboard config to dashboards directory with separate json
- Adding apply/delete for grafana-dashboard config
- Combing both dashboards JSON
Signed-off-by: Raj Babu Das [email protected]
cc @geekodour. dashboard's configmap is successfully created in this way. I check the text diff with the previous config map. It looks the same(except the JSON format changes).
But after applying all resources, the dashboards are not showing in the grafana. I will fix this problem later. Let me know if this approach is good or not.
Thanks @geekodour for reviewing this PR. I will come up with a better solution using bash script.