[Hawkular-dev] availability and metric endpoints

mike thompson mithomps at redhat.com
Fri Mar 20 11:08:54 EDT 2015


> 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.


> 
> 
> - John
> _______________________________________________
> hawkular-dev mailing list
> hawkular-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hawkular-dev




More information about the hawkular-dev mailing list