action #62372
closedAdd grafana image-renderer plugin to salt
0%
Description
https://grafana.com/grafana/plugins/grafana-image-renderer on openqa-monitor.qa.suse.de is currently installed manually. This needs to be implemented in salt. It should be easy:
Execute the command grafana-cli plugins install grafana-image-renderer
as user grafana but only if find /var/lib/grafana/plugins/grafana-image-renderer/ | wc -l
equals to 0
This could live in https://gitlab.suse.de/openqa/salt-states-openqa/blob/master/openqa/monitoring/grafana.sls or alternatively in a separate state file only used for grafana plugin installation.reserved
Updated by nicksinger over 4 years ago
- Status changed from Workable to Feedback
- Assignee set to nicksinger
Updated by okurz over 4 years ago
MR was merged but not sure it did anything, see https://gitlab.suse.de/openqa/salt-states-openqa/-/jobs/161335#L911
Also I think we do not have "monitoring" covered in our tests so I am trying to add this in https://gitlab.suse.de/openqa/salt-states-openqa/merge_requests/260
Updated by nicksinger over 4 years ago
- Status changed from Feedback to Resolved
Actually this shows that it works exactly how I expected it: it only does something if the folder is not already there. Since I was unsure too, I removed the plugin and run a highstate manually and it worked flawlessly. Also see https://stats.geekify.de/plugins/grafana-image-renderer/ (which wouldn't be available if it wouldn't work).