[Hawkular-dev] Post a metricType under a resourceType, 400 bad request
Austin Kuo
auszon3 at gmail.com
Tue Jul 12 02:26:38 EDT 2016
Hi all,
I was trying to create a metric type under my resource type called “MYRT”,
Here’s body look like:
{“collectionInterval”: 30, “id”: “metricTypeId123”, "type": "COUNTER",
"unit": "NONE"}
I posted this to url:
http://localhost:8080/hawkular/inventory/deprecated/feeds/vertx-localhost/resourceTypes/MYRT/metricTypes
It gave me 400 bad request.
But I posed to
http://localhost:8080/hawkular/inventory/deprecated/feeds/vertx-localhost/metricTypes
.
And it worked.
Wondering why is that?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hawkular-dev/attachments/20160712/1780162b/attachment.html
More information about the hawkular-dev
mailing list