Auto dashboard discovery is almost working in Grafana. However, there is a minor bug in Grafana where it will not detect new changes in a symlinked file. Because files mounted from a Kubernetes Config Map are mounted as symlinks, Grafana cannot detect updates to files while running in OpenShift.
See this comment for more info:
https://issues.jboss.org/browse/AEROGEAR-1878?focusedCommentId=13517624&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13517624
Exact code in grafana that needs to be fixed: https://github.com/grafana/grafana/blob/master/pkg/services/provisioning/dashboards/file_reader.go#L149-L151
The fix is a very simple one which we should be able to get merged upstream without any trouble.
|
|