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" <[email protected]> wrote:
> 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 <[email protected]> > wrote: > >> Yup totally makes sense. I'll update the endpoint. Thanks. >> >> >> On Thu, Jun 26, 2014 at 3:33 PM, Benjamin Mahler < >> [email protected]> 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 Rodriguez <[email protected]> >>> 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 Mesos 0.19.0+ and collectd 4.9+ >>>> >>>> Big shout out to phobos182(https://github.com/phobos182) who wrote the >>>> original Elasticsearch collectd python plugin upon which my plugin borrows >>>> from heavily. >>>> >>>> Mesos Collectd Python plugin: >>>> https://github.com/rayrod2030/collectd-mesos >>>> >>>> Hope this is useful to others and I welcome pull requests, comments and >>>> suggestions. >>>> >>>> Ray Rodriguez >>>> Twitter: @rayray2030 >>>> Github: rayrod2030 >>>> >>> >>> >> >

