[Hawkular-dev] availability and metric endpoints
John Sanda
jsanda at redhat.com
Fri Mar 20 11:18:57 EDT 2015
> On Mar 20, 2015, at 11:08 AM, mike thompson <mithomps at redhat.com> wrote:
>
>>
>> On 20 Mar 2015, at 08:00, John Sanda <jsanda at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hawkular-dev/attachments/20150320/eccf0be8/attachment.html
More information about the hawkular-dev
mailing list