gluster / gluster-prometheus

Gluster monitoring using Prometheus
GNU Lesser General Public License v2.1
119 stars 70 forks source link

gluster_exporter or gluster-prometheus? #46

Open ghost opened 6 years ago

ghost commented 6 years ago

is this project replacing https://github.com/ofesseler/gluster_exporter or any relationship? This looks pretty much not maintained however in Prometheus third party integration is the one mentioned: https://prometheus.io/docs/instrumenting/exporters/

I have tested that exporter it seems collecting some metrics that here are not available?

thanks

amarts commented 6 years ago

@labazza thanks for reporting this. We will work with both @ofesseler and prometheus.io to get this fixed!

Also note that, this project has started integrating with https://github.com/gluster/gcs to provide a usable containers with gluster to show how one can consume this! (ref: #45)

Will keep you posted you on this!

ghost commented 6 years ago

@amarts thanks for the reply, i will test this exporter as well it's great to see monitoring around gluster is movig forward. ATM i use glusterd and not glusterd2 and it's deployed on baremetal.

aravindavk commented 6 years ago

@amarts thanks for the reply, i will test this exporter as well it's great to see monitoring around gluster is movig forward. ATM i use glusterd and not glusterd2 and it's deployed on baremetal.

This project is compatible with both glusterd and glusterd2. Please refer README for install and usage details.

ghost commented 6 years ago

Hi @amarts and @aravindavk . I have tested the other project gluster-exporter since a first effort on Grafana + Prometheus alerting was put there. Also we deploy the exporter as rpm so i was following the development of issue #18 . I noticed you started a joint effort under this project : https://github.com/ofesseler/gluster_exporter/issues/40 therefore i will report here the anomalies i have found:

In bold what i think is more important. ATM My knowledge of GO still fairly limited so my apologies for the lack of contribution. I will proceed deploying this extractor and test if the above metrics are already present.

ghost commented 6 years ago

i'm now running gluster-prometheus and will replace the old one. I'm happy to close this issue if you agree to track the following under this project would be great:

amarts commented 6 years ago

@labazza this is very valuable update! Yes, sure we will make sure to take care of the above items! Lets keep this issue open for some time till we have the above addressed. (Or at least issues open for individual issues from your list.

adampl commented 5 years ago

Hi all, what's the current status of this issue?

brian-brazil commented 4 years ago

Hi, please see the discussion on https://github.com/prometheus/docs/pull/1315 in relation to listing this on the Prometheus documentation. Basically this exporter should fetch metrics synchronously on scrape, not maintain its own internal scraping intervals with TTLs. See https://prometheus.io/docs/instrumenting/writing_exporters/#scheduling, this would both be more in line with Prometheus best practices and make the code simpler too.