RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Papers & Presentations Archive
T2.0 Shared Library will be used by Components that wish to report Telemetry metrics. This library and its APIs will allow migration away from the current mechanism for Telemetry that uses log message and grepping (via DCA) to report Component Metrics and information. This library will insulate Components from needing to know the underlying BUS/IPC used on the device; the T2 Common Library will use RBUS as its platform agnostic IPC, but can use CCSP directly in RDK-B.
NOTE: The DCA and grepping mechanism will continue to exist in order to support ad-hoc reporting of device/component information. However, going forward, Components will be migrated to use the T2.0 Shared Library to report Telemetry data in order to reduce the need for grepping on devices. Porting all Components to use T2.0 is outside the scope of the T2.0 team, but will be accomplished via Jira tickets and working closely with Component owners once the T2.0 MVP for DCA port is complete and proven.
Telemetry APIs - for use by Components wishing to report metrics/data:
t2_init( char* component) – init BUS/IPC for component
t2_event_s(char* marker, char* value) – send marker with string value to T2
t2_event_f(char* marker, double value) – send marker with double value to T2
t2_event_d(char* marker, int value) – send marker with int value to T2
Usage:
Sequence diagram illustrating T2 Common Library usage of RBUS APIs.
New APIs:
int CcspBaseIf_SendTelemetryDataSignal_s ( void* bus_handle, char* marker, char* value);
int CcspBaseIf_SendTelemetryDataSignal_d ( void* bus_handle, char* marker, int value);
int CcspBaseIf_SendTelemetryDataSignal_f ( void* bus_handle, char* marker, double value);
DISCLAIMER: Please note that the use of the RDK Wiki is subject to its Privacy Policy & Terms of Use. In addition, this Wiki may be accessed by all RDK licensees and their contractors.
Powered by a free Atlassian Confluence Open Source Project License granted to RDKCentral. Evaluate Confluence today.