ClusterLabs / ha_cluster_exporter

Prometheus exporter for Pacemaker based Linux HA clusters
Apache License 2.0
79 stars 35 forks source link

Grafana dashboard w/ OBS packaging #160

Closed stefanotorresi closed 4 years ago

stefanotorresi commented 4 years ago

This PR bundles the Grafana dashboards in this repository and introduce the OBS packaging to install those on top of Grafana.

SR to OBS devel upstream here: https://build.opensuse.org/request/show/815701

stefanotorresi commented 4 years ago

do we need an additional package? maybe we can just include this 3 files on the exporter package without having another package to maintain. What are the benifits of splitting it so small package?

we don't install the exporter and the dashboards in the same system! 🤪

stefanotorresi commented 4 years ago

@arbulu89

  1. Yeah, the documentation surely needs improvements. I wanted to first experiment with the rpm, I will see to improve it at a later stage, along with the CI.
  2. Yes, we require Grafana, which is provided by SUMA. This package wouldn't have any sense without Grafana installed. As long as Grafana will be delivered by SUMA, this package will only be available to customers buying bundled licenses of both SUMA and SLEHA.
  3. For the time being the versioning scheme is handled manually by changing the _service file. The only automated part is the +git.%timestamp.%hash suffix. Versioning will always be separate, as each release and commit regarding the exporter doesn't necessarily mean an update of the dashboards. This will be handled by reworking the CI a bit, in another PR.
stefanotorresi commented 4 years ago

do we need the screenshot.png? it might be depracted dashboards/screenshot.png

yes, the plan is to show what the dashboard looks like in the markdown docs.