You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Dominic Hamon <dh...@twopensource.com> on 2015/01/26 23:31:33 UTC

Deprecating /stats.json endpoints

For a few releases now, we've had parity on master and slave between the
old metrics endpoints (/stats.json) and the new endpoint
(/metrics/snapshot). As per MESOS-2058
<https://issues.apache.org/jira/browse/MESOS-2058>, the old endpoints will
be deprecated in 0.23.

0.22 will be released with a note to this effect.

Please update any endpoint scraping tools.


-- 
Dominic Hamon | @mrdo | Twitter
*There are no bad ideas; only good ideas that go horribly wrong.*

Re: Deprecating /stats.json endpoints

Posted by Dominic Hamon <dh...@twopensource.com>.
This change has landed in head:

commit d9ba9199a8c8357ab13a1b14f8ee63409c5ac310 (HEAD, origin/master,
origin/HEAD, master)
Author: Dominic Hamon <dh...@twitter.com>
Commit: Dominic Hamon <dh...@twitter.com>

    Deprecate /stats.json endpoint and supporting code.

    Review: https://reviews.apache.org/r/30296


On Mon, Jan 26, 2015 at 4:23 PM, Dominic Hamon <dh...@twopensource.com>
wrote:

> An addendum:
>
> This will also deprecate the task status counts from /state.json as they
> are already present in the new endpoint. /state.json will still retain the
> current state of every task.
>
> On Mon, Jan 26, 2015 at 2:31 PM, Dominic Hamon <dh...@twopensource.com>
> wrote:
>
>> For a few releases now, we've had parity on master and slave between the
>> old metrics endpoints (/stats.json) and the new endpoint
>> (/metrics/snapshot). As per MESOS-2058
>> <https://issues.apache.org/jira/browse/MESOS-2058>, the old endpoints
>> will be deprecated in 0.23.
>>
>> 0.22 will be released with a note to this effect.
>>
>> Please update any endpoint scraping tools.
>>
>>
>> --
>> Dominic Hamon | @mrdo | Twitter
>> *There are no bad ideas; only good ideas that go horribly wrong.*
>>
>
>
>
> --
> Dominic Hamon | @mrdo | Twitter
> *There are no bad ideas; only good ideas that go horribly wrong.*
>



-- 
Dominic Hamon | @mrdo | Twitter
*There are no bad ideas; only good ideas that go horribly wrong.*

Re: Deprecating /stats.json endpoints

Posted by Dominic Hamon <dh...@twopensource.com>.
This change has landed in head:

commit d9ba9199a8c8357ab13a1b14f8ee63409c5ac310 (HEAD, origin/master,
origin/HEAD, master)
Author: Dominic Hamon <dh...@twitter.com>
Commit: Dominic Hamon <dh...@twitter.com>

    Deprecate /stats.json endpoint and supporting code.

    Review: https://reviews.apache.org/r/30296


On Mon, Jan 26, 2015 at 4:23 PM, Dominic Hamon <dh...@twopensource.com>
wrote:

> An addendum:
>
> This will also deprecate the task status counts from /state.json as they
> are already present in the new endpoint. /state.json will still retain the
> current state of every task.
>
> On Mon, Jan 26, 2015 at 2:31 PM, Dominic Hamon <dh...@twopensource.com>
> wrote:
>
>> For a few releases now, we've had parity on master and slave between the
>> old metrics endpoints (/stats.json) and the new endpoint
>> (/metrics/snapshot). As per MESOS-2058
>> <https://issues.apache.org/jira/browse/MESOS-2058>, the old endpoints
>> will be deprecated in 0.23.
>>
>> 0.22 will be released with a note to this effect.
>>
>> Please update any endpoint scraping tools.
>>
>>
>> --
>> Dominic Hamon | @mrdo | Twitter
>> *There are no bad ideas; only good ideas that go horribly wrong.*
>>
>
>
>
> --
> Dominic Hamon | @mrdo | Twitter
> *There are no bad ideas; only good ideas that go horribly wrong.*
>



-- 
Dominic Hamon | @mrdo | Twitter
*There are no bad ideas; only good ideas that go horribly wrong.*

Re: Deprecating /stats.json endpoints

Posted by Dominic Hamon <dh...@twopensource.com>.
An addendum:

This will also deprecate the task status counts from /state.json as they
are already present in the new endpoint. /state.json will still retain the
current state of every task.

On Mon, Jan 26, 2015 at 2:31 PM, Dominic Hamon <dh...@twopensource.com>
wrote:

> For a few releases now, we've had parity on master and slave between the
> old metrics endpoints (/stats.json) and the new endpoint
> (/metrics/snapshot). As per MESOS-2058
> <https://issues.apache.org/jira/browse/MESOS-2058>, the old endpoints
> will be deprecated in 0.23.
>
> 0.22 will be released with a note to this effect.
>
> Please update any endpoint scraping tools.
>
>
> --
> Dominic Hamon | @mrdo | Twitter
> *There are no bad ideas; only good ideas that go horribly wrong.*
>



-- 
Dominic Hamon | @mrdo | Twitter
*There are no bad ideas; only good ideas that go horribly wrong.*

Re: Deprecating /stats.json endpoints

Posted by Dominic Hamon <dh...@twopensource.com>.
An addendum:

This will also deprecate the task status counts from /state.json as they
are already present in the new endpoint. /state.json will still retain the
current state of every task.

On Mon, Jan 26, 2015 at 2:31 PM, Dominic Hamon <dh...@twopensource.com>
wrote:

> For a few releases now, we've had parity on master and slave between the
> old metrics endpoints (/stats.json) and the new endpoint
> (/metrics/snapshot). As per MESOS-2058
> <https://issues.apache.org/jira/browse/MESOS-2058>, the old endpoints
> will be deprecated in 0.23.
>
> 0.22 will be released with a note to this effect.
>
> Please update any endpoint scraping tools.
>
>
> --
> Dominic Hamon | @mrdo | Twitter
> *There are no bad ideas; only good ideas that go horribly wrong.*
>



-- 
Dominic Hamon | @mrdo | Twitter
*There are no bad ideas; only good ideas that go horribly wrong.*