We need defined APIs, that may result in common Java classes that
e.g.
describe one metric or a series of metrics for a tenant
or similar.
...
Yes. I don't see this as a shared service/component, but rather part of
Hawkular-alerts. This may pull in a common java
class that encodes how a metric looks like (see above).
FWIW: we could base these on the JSON-encoded BasicMessage [1] - Jay has already
prototyped his stuff using this, where a "metric" is JSON-encoded (and thus can
be handled across any client in any language) but yet is a strongly-typed Java object that
can be used.
[1]
https://github.com/hawkular/hawkular-bus/blob/master/hawkular-bus-common/...