Metrics vs Logging, Continued
Deepak Kodihalli
dkodihal at linux.vnet.ibm.com
Wed Jan 3 15:08:41 AEDT 2018
On 03/01/18 7:52 am, Christopher Covington wrote:
> https://github.com/facebook/openbmc/tree/helium/common/recipes-rest/rest-api/files
>
> But polling the whole fleet doesn't seem ideal, so I'm wondering about a push model.
>
> Prometheus looks interesting, thanks for the pointer. It does seem to support a push model
> https://prometheus.io/docs/instrumenting/pushing/
FWIW, the phosphor rest-server
(https://github.com/openbmc/phosphor-rest-server) can push events
occurring in the d-bus namespace to subscribed clients via WebSockets.
The client subscription protocol has been documented here -
https://github.com/openbmc/docs/blob/master/rest-api.md (the last section).
Regards,
Deepak
More information about the openbmc
mailing list