On 01/27/2011 08:54 PM, Heiko Braun wrote:
But to make sure I understand you correctly:
- Does this means you have a custom operation to retrieve the metrics per resource?
(probably yes)
- Could metrics also be retrieved when reading the configuration?
I.e. separate payload element, but still one request?
We are trying to have a single view of the resource containing
configuration and runtime attributes. So in the end you have a parameter
in case runtime attributes (incl. metrics) should be queried as well.
This is more for the standalone view though. The runtime view in the
domain would be a separate operation - also because the returned value
will contain the result of each server.
- Although there is one handler per resource, will it be possible to
retrieve just a single metric value?
Yes, there are general read-attribute operations which also cover metrics.