Re: Mesos 0.19.0 stats.json endpoint Collectd plugin

2014-07-07 Thread Dominic Hamon
Hi Dave The JIRA is here: https://issues.apache.org/jira/browse/MESOS-1036 There's a link in the comments to the design document. On Mon, Jul 7, 2014 at 11:14 AM, Dave Lester wrote: > Hey Dominic, is there a specific review or JIRA issue that you could point > to re: the new stats endpoint? >

Re: Mesos 0.19.0 stats.json endpoint Collectd plugin

2014-07-07 Thread Ray Rodriguez
I just updated the collectd-mesos plugin to now use the new /metrics/snapshot metrics endpoint as well as only reporting metrics from the elected master. You can see my changes here: https://github.com/rayrod2030/collectd-mesos/pull/2. Thanks for the feedback everyone. Ray On Mon, Jul 7, 2014

Re: Mesos 0.19.0 stats.json endpoint Collectd plugin

2014-07-07 Thread Dave Lester
Hey Dominic, is there a specific review or JIRA issue that you could point to re: the new stats endpoint? Thanks, Dave On Thu, Jun 26, 2014 at 1:26 PM, Dominic Hamon wrote: > In 0.20, stats.json is completely represented by the new endpoint. > stats.json will be deprecated in one of the next fe

Re: Mesos 0.19.0 stats.json endpoint Collectd plugin

2014-06-26 Thread Dominic Hamon
In 0.20, stats.json is completely represented by the new endpoint. stats.json will be deprecated in one of the next few versions. On Jun 26, 2014 1:10 PM, "Ray Rodriguez" wrote: > Hey Ben, It looks like /metrics/snapshot is a subset of the metrics > exposed from /stats.json. Is stats.json event

Re: Mesos 0.19.0 stats.json endpoint Collectd plugin

2014-06-26 Thread Ray Rodriguez
Hey Ben, It looks like /metrics/snapshot is a subset of the metrics exposed from /stats.json. Is stats.json eventually going to be deprecated? Why collect less metrics in this case? On Thu, Jun 26, 2014 at 3:38 PM, Ray Rodriguez wrote: > Yup totally makes sense. I'll update the endpoint. Th

Re: Mesos 0.19.0 stats.json endpoint Collectd plugin

2014-06-26 Thread Ray Rodriguez
Yup totally makes sense.  I'll update the endpoint.  Thanks. On Thu, Jun 26, 2014 at 3:33 PM, Benjamin Mahler wrote: > This is great! If only supporting 0.19.0+ I would recommend just collecting > from /metrics/snapshot because it obviates /stats.json. > On Thu, Jun 26, 2014 at 12:13 PM, Ray Rod

Re: Mesos 0.19.0 stats.json endpoint Collectd plugin

2014-06-26 Thread Benjamin Hindman
Thanks for sharing this Ray! On Thu, Jun 26, 2014 at 12:13 PM, Ray Rodriguez wrote: > Hey everyone just thought I'd post a simple collectd python plugin that I > just released which turns all stats returned from the Mesos stats.json > endpoint into Collectd metrics. > > This plugin requires Mes

Re: Mesos 0.19.0 stats.json endpoint Collectd plugin

2014-06-26 Thread Benjamin Mahler
This is great! If only supporting 0.19.0+ I would recommend just collecting from /metrics/snapshot because it obviates /stats.json. On Thu, Jun 26, 2014 at 12:13 PM, Ray Rodriguez wrote: > Hey everyone just thought I'd post a simple collectd python plugin that I > just released which turns all

Mesos 0.19.0 stats.json endpoint Collectd plugin

2014-06-26 Thread Ray Rodriguez
Hey everyone just thought I'd post a simple collectd python plugin that I just released which turns all stats returned from the Mesos stats.json endpoint into Collectd metrics. This plugin requires Mesos 0.19.0+ and collectd 4.9+ Big shout out to phobos182(https://github.com/phobos182) who wrote