[EXTERNAL] Telemetry Reports dynamic update

Justin Thaler thalerj at linux.vnet.ibm.com
Thu Dec 5 00:27:54 AEDT 2019



On 12/4/19 12:43 AM, Neeraj Ladkani wrote:
> We don’t have telemetryservice in BMC currently so are you currently doing it using webui? Or you have written a app using redfish APIs?  I asked similar question in last week work group meeting. I think it will be useful to have ability to add new report definitions.
I have an app that uses the current websocket implementation on openBMC 
and have been reviewing the needs for transitioning the app to redfish 
when the time comes. One limitation of those is not being able to update 
the active subscription without tearing it down and starting it again, 
resulting in a few seconds of missed readings.

Being able to update the content of the subscription on the fly would be 
a huge value add I think.
> 
> -----Original Message-----
> From: Justin Thaler <thalerj at linux.vnet.ibm.com>
> Sent: Tuesday, December 3, 2019 3:57 PM
> To: openbmc at lists.ozlabs.org; Matuszczak, Piotr <piotr.matuszczak at intel.com>; vishwa <vishwa at linux.vnet.ibm.com>; Neeraj Ladkani <neladk at microsoft.com>
> Subject: [EXTERNAL] Telemetry Reports dynamic update
> 
> Hi All,
> 	I've been sort of silently reviewing the designs to telemetry reports design along with subscriptions. As I was reviewing it, I've had a couple of different design points come up and an interesting use case I've wanted to ask about. So here's my scenario:
> 
> I've set up a telemetry report to the system dynamically by querying the sensors and request the values are updated every second. The system was in a state where it was powered off, so not many sensors were available.
> After the system is powered on, more sensors are added as different devices are powered up. At this point I'd want to add the additional sensors to my report. I query the system again for all the available sensors and see thermal and power readings for the CPUs. I want updates on these every second just like my initial report.
> 
> This leads me to the following question:
> Can I push a new report definition to the TelemetryService and have the event service start providing that new definition without tearing down the subscription first, which would leave a gap in the data?
> 
> Thanks,
> Justin Thaler
> 


More information about the openbmc mailing list