I posted my feed, resources and metrics to inventory with /bulk api.
But the errors shows:
"errorMsg" : "Entity of type 'Metric' cannot be created under an
entity of
type 'Resource'."
Why is this not allowed since I can do it with normal create entity api?
How can I create a metric under a certain resource with bulk api?
The agent does it in its /bulk requests. You can see how the agent does it here:
https://github.com/hawkular/hawkular-agent/blob/master/hawkular-wildfly-a...