Project

General

Profile

Actions

action #62372

closed

Add grafana image-renderer plugin to salt

Added by nicksinger over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
2020-01-20
Due date:
% Done:

0%

Estimated time:

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

Actions #1

Updated by nicksinger over 4 years ago

  • Status changed from Workable to Feedback
  • Assignee set to nicksinger
Actions #2

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

Actions #3

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).

Actions

Also available in: Atom PDF