On Mar 20, 2015, at 11:08 AM, mike thompson
<mithomps(a)redhat.com> wrote:
>
> On 20 Mar 2015, at 08:00, John Sanda <jsanda(a)redhat.com> wrote:
>
> There has been some good discussion around availability lately. I want to add one
more to the mix, but hopefully this one is not as in-depth as some of the other topics.
Right in metrics we have endpoints like,
>
> POST /metrics/numeric/data
> GET /metrics/numeric/{id}/data
> POST /metrics/availability/data
> GET /metrics/availability/{id}/data
>
> I would like to change these to,
>
> POST /metrics/data
> GET /metrics/{id}/data
> POST /availability/data
> GET /availability/{id}/data
>
> I think the “metrics” prefix is awkward and unnecessary. I think that it is intuitive
enough that metrics on its own refers to numeric data. Thoughts?
I think the ‘data’ postfix is redundant as well.
I agree, and we already have
https://issues.jboss.org/browse/HWKMETRICS-24
<
https://issues.jboss.org/browse/HWKMETRICS-24> for the data part. I will create a
new ticket for the other proposed changes, and they can be addressed together.