RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
While migrating to Telemetry2.0 from DCA telemetry, the traditional log grepping is targetted to reduce as much as possible by instrumenting the markers coming from RDKB components.To achieve this, RDKB components are supposed make required changes with the use of APIs from Telemetry 2.0 shared library (commonlib - https://code.rdkcentral.com/r/plugins/gitiles/rdk/components/generic/telemetry/+/refs/heads/rdk-next/source/commonlib/ )
Brief Background:
In DCA telemetry, the markers fetched from xconf are grepped in log files and reported in json format to splunk server.
The markers are of 3 types:
Marker Type | Sample configuration from xconf | Description with respect to sample configuration |
---|---|---|
Split based markers | {"header":"WIFI_ACS_1_split","content":"WIFI_ACS_1:","type":"wifihealth.txt","pollingFrequency":"0"} | Expects the value after content "WIFI_ACS_1:" |
Count based markers | {"header":"RF_ERROR_IPV6PingFailed","content":"Ping to IPv6 Gateway Address are failed","type":"SelfHeal.txt.0","pollingFrequency":"0"} | Expects the occurance count of content "Ping to IPv6 Gateway Address are failed" |
TR-181 based markers | {"header" : "XDNS_split","content" : "Device.DeviceInfo.X_RDKCENTRAL-COM_EnableXDNS","type" : "<message_bus>","pollingFrequency":"48"} | Markers whose type is configured as "<message_bus>" |
In T2.0, the aim is to instrument possible number of split and count based markers from component side. These are termed as event markers. Can be classified as one more type under the classification of markers. Once a marker is instrumented from component side, its configuration on xconf will be changed from the configured file name to "<event>" in 'type:' section.
Example: {"header":"WIFI_ACS_1_split","content":"WIFI_ACS_1:","type":<event>","pollingFrequency":"0"}
Steps to instrument split based and count based markers from RDKB components side: