test-infra icon indicating copy to clipboard operation
test-infra copied to clipboard

WIP: Adding dashboard directory for grafana dashboards and script to combine the dashboards

Open imrajdas opened this issue 5 years ago • 2 comments

  • 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]

imrajdas avatar Aug 27 '20 23:08 imrajdas

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.

imrajdas avatar Aug 27 '20 23:08 imrajdas

Thanks @geekodour for reviewing this PR. I will come up with a better solution using bash script.

imrajdas avatar Aug 31 '20 21:08 imrajdas