[Hawkular-dev] availability and metric endpoints

John Sanda jsanda at redhat.com
Fri Mar 20 11:00:22 EDT 2015


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?


- John


More information about the hawkular-dev mailing list