Re: [ceph-users] Prometheus RADOSGW usage exporter

2018-03-21 Thread Berant Lemmenes
My apologies, I don't seem to be getting notifications on PRs. I'll review this week. Thanks, Berant On Mon, Mar 19, 2018 at 5:55 AM, Konstantin Shalygin wrote: > Hi Berant > > > I've created prometheus exporter that scrapes the RADOSGW Admin Ops API and >> exports the usage information for all

Re: [ceph-users] Prometheus RADOSGW usage exporter

2018-03-19 Thread Konstantin Shalygin
Hi Berant I've created prometheus exporter that scrapes the RADOSGW Admin Ops API and exports the usage information for all users and buckets. This is my first prometheus exporter so if anyone has feedback I'd greatly appreciate it. I've tested it against Hammer, and will shortly test against J

Re: [ceph-users] Prometheus RADOSGW usage exporter

2017-05-30 Thread Berant Lemmenes
Ben, Thanks for taking a look at it and trying it out! Hmm looks like at some point where the bucket owner is in the JSON changed. Later in the week I'll take a look at adding something to take either location into account. Thanks, Berant On Tue, May 30, 2017 at 3:54 AM, Ben Morrice wrote: > H

Re: [ceph-users] Prometheus RADOSGW usage exporter

2017-05-30 Thread Ben Morrice
Hello Berant, This is very nice! I've had a play with this against our installation of Ceph which is Kraken. We had to change the bucket_owner variable to be inside the for loop [1] and we are currently not getting any bytes sent/received statistics - though this is not an issue with your code

[ceph-users] Prometheus RADOSGW usage exporter

2017-05-25 Thread Berant Lemmenes
Hello all, I've created prometheus exporter that scrapes the RADOSGW Admin Ops API and exports the usage information for all users and buckets. This is my first prometheus exporter so if anyone has feedback I'd greatly appreciate it. I've tested it against Hammer, and will shortly test against Jew