kadalu / gluster-metrics-exporter

Lightweight and efficient Prometheus exporter for Gluster metrics
GNU General Public License v3.0
24 stars 7 forks source link

Example Grafana Dashboard / AlertManager Rules #37

Open AlexDaichendt opened 1 year ago

AlexDaichendt commented 1 year ago

Hey!

I'm sure this exporter was deployed by some people; does anyone have a pretty Grafana dashboard? Furthermore, maybe someone could share their AlertManager rules.

I'm sure more people would love to have a basis to build upon.

foi commented 1 year ago

There are rules I use

name: GlusterVolumeVolumeNameIsNotStarted
expr: glusterfs_volume_brick_count{name="volume_name",state!="Started",type="Replicate"}
for: 30s
labels:
  severity: critical
annotations:
  summary: Gluster volume volume_name is not started (instance {{ $labels.instance }})

name: GlusterMissingBickInVolumeVolumeName
expr: glusterfs_subvol_up_bricks{subvol_index="0",volume_name="volume_name",volume_state="Started",volume_type="Replicate"} != 3
for: 30s
labels:
  severity: critical
annotations:
  summary: Some bricks are missing for volume_name (instance {{ $labels.instance }})
bmgante commented 1 year ago

Hi, really interested also in some grafana dashboard. Any chance of dashboard from gluster/gluster-prometheus to work with metrics from this exporter?

https://grafana.com/grafana/dashboards/10041-glusterfs/

rfakit commented 2 months ago

https://grafana.com/grafana/dashboards/19413-glusterfs