Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
64479dc
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 11, 2025
048645a
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 13, 2025
3f6710a
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 13, 2025
662566e
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 13, 2025
057dbf8
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 13, 2025
22a6a30
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 14, 2025
f577617
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 16, 2025
ce35399
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 16, 2025
c40183f
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 17, 2025
428cdac
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 17, 2025
c77b2d1
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 17, 2025
ba551d0
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 17, 2025
c4dd1ed
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 17, 2025
5270ab8
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 17, 2025
5ea1271
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 17, 2025
de54ae6
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 19, 2025
0c36239
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 20, 2025
e4a9887
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 20, 2025
d5c0719
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 20, 2025
2c15657
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 20, 2025
bf830f8
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 11, 2025
f4df92d
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 13, 2025
35afe0f
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 13, 2025
c3ecf80
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 13, 2025
1e918e4
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 13, 2025
d52f1bd
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 14, 2025
d9bd557
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 16, 2025
fb047a6
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 16, 2025
2851ea9
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 17, 2025
f5c27e0
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 17, 2025
0465564
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 17, 2025
52f5496
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 17, 2025
84ff0e7
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 17, 2025
a48d071
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 17, 2025
2c508aa
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 17, 2025
2d931de
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 19, 2025
4c11480
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 20, 2025
8fde6f5
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 20, 2025
1835d8c
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 20, 2025
809a8a4
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 20, 2025
d0f4e3e
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 21, 2025
f9cc20c
Merge branch 'topic/RDK-59221' of https://github.com/rdkcentral/telem…
Oct 21, 2025
4b9f9e9
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 21, 2025
8121226
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 21, 2025
9dd963f
Merge branch 'develop' into topic/RDK-59221
yogeswaransky Oct 23, 2025
a76b842
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 23, 2025
ffd9ba9
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 23, 2025
f3019c8
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 23, 2025
349cd40
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 24, 2025
deb8000
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 24, 2025
aaf2dc7
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 24, 2025
07a00e3
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 26, 2025
ba345af
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 26, 2025
6553740
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 26, 2025
f49bc24
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 27, 2025
2af8435
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 27, 2025
d4e9dce
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 27, 2025
bf1048c
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 27, 2025
c0cf119
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 27, 2025
baab429
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 27, 2025
8ce7f79
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 27, 2025
8c5c787
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 27, 2025
b012896
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 28, 2025
f514792
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 28, 2025
7216b7e
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 28, 2025
d922624
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 28, 2025
db36d61
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 28, 2025
a344cbb
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 28, 2025
9b4ec46
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 28, 2025
b99a192
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 28, 2025
23bfc19
RDK-59221: Enable Accumulate Support For Grep Markers in Telemetry Pr…
Oct 28, 2025
a49db01
Merge branch 'develop' into topic/RDK-59221
shibu-kv Oct 28, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions schemas/t2_reportProfileSchema.schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json-schema.org/draft-06/schema#",

Check failure on line 2 in schemas/t2_reportProfileSchema.schema.json

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID License Issue Detected

Source code with 'Apache-2.0' license found in local file 'schemas/t2_reportProfileSchema.schema.json' (Match: rdkcentral/xconfwebconfig/0.0.0-20240925050240-8b1e958a71b7, 269 lines, url: https://proxy.golang.org/github.com%2Frdkcentral%2Fxconfwebconfig/@v/v0.0.0-20240925050240-8b1e958a71b7.zip, file: shared/logupload/json_schema.go)
"$id": "https://github.comcast.com/cfry002/telemetry2/schemas/t2_reportProfileSchema.schema.json",
"title":"Telemetry 2.0 Report Profile Description",
"version": "2.0.10",
Expand Down Expand Up @@ -40,6 +40,7 @@
"logFile": { "type": "string", "description": "The name of the log file to be searched."},
"use": { "$ref": "#/definitions/parmUse", "description": "This property indicates how the data for this parameter should be gathered and reported.<br/>&bull;&nbsp;&nbsp;\"count\": Indicates that the value to report for this parameter is the number of times it has occurred during the reporting interval..<br/>&bull;&nbsp;&nbsp;\"absolute\": Indicates that the value to report for this parameter is the last actual value received, in the case of events, or found in the log file, in the case of greps.<br/>&bull;&nbsp;&nbsp;\"csv\": Indicates that the value to report for this parameter is a comma separated list of all the actual values received, in the case of events, or found in the log file, in the case of greps. <b>NOTE:</b> \"csv\" is not currently supported in Telemetry 2.0."},
"reportEmpty": { "type": "boolean", "default":"false", "description": "Should this marker name be included in the generated report even if the search string was not found in the log file?"},
"reportTimestamp": { "$ref": "#/definitions/parmReportTimestamp", "description": "This property indicates whether or not a timestamp should be encoded to indicate the time at which this parameter data was received."}
"firstSeekFromEOF": { "type": "integer", "description": "An offset, in bytes, backward from logFile EOF to where the grep for search must begin for the first report this profile generates. See documentation."}
},
"additionalProperties": false,
Expand Down
22 changes: 4 additions & 18 deletions source/bulkdata/profile.c
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,6 @@ static void* CollectAndReport(void* data)
int count = profile->grepSeekProfile->execCounter;

Vector *profileParamVals = NULL;
Vector *grepResultList = NULL;
cJSON *valArray = NULL;
char* jsonReport = NULL;
cJSON *triggercondition = NULL;
Expand Down Expand Up @@ -452,26 +451,13 @@ static void* CollectAndReport(void* data)
}
if(profile->topMarkerList != NULL && Vector_Size(profile->topMarkerList) > 0)
{
Vector *topMarkerResultList = NULL;
Vector_Create(&topMarkerResultList);
processTopPattern(profile->name, profile->topMarkerList, topMarkerResultList, 0);
long int reportSize = Vector_Size(topMarkerResultList);
if(reportSize != 0)
{
T2Info("Top markers report is compleated report size %ld\n", (unsigned long)reportSize);
encodeGrepResultInJSON(valArray, topMarkerResultList);
}
else
{
T2Debug("Top markers report generated but is empty possabliy the memory value is changed");
}
Vector_Destroy(topMarkerResultList, freeGResult);
processTopPattern(profile->name, profile->topMarkerList, 0);
encodeTopResultInJSON(valArray, profile->topMarkerList);
}
if(profile->gMarkerList != NULL && Vector_Size(profile->gMarkerList) > 0)
{
getGrepResults(&(profile->grepSeekProfile), profile->gMarkerList, &grepResultList, profile->bClearSeekMap, false, customLogPath); // Passing 5th argument as false so that it doesn't check rotated logs for the first reporting after bootup for multiprofiles.
encodeGrepResultInJSON(valArray, grepResultList);
Vector_Destroy(grepResultList, freeGResult);
getGrepResults(&(profile->grepSeekProfile), profile->gMarkerList, profile->bClearSeekMap, false, customLogPath); // Passing 4th argument as false so that it doesn't check rotated logs for the first reporting after bootup for multiprofiles.
encodeGrepResultInJSON(valArray, profile->gMarkerList);
}
if(profile->eMarkerList != NULL && Vector_Size(profile->eMarkerList) > 0)
{
Expand Down
23 changes: 5 additions & 18 deletions source/bulkdata/profilexconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ static void* CollectAndReportXconf(void* data)
}
profile = singleProfile;
Vector *profileParamVals = NULL;
Vector *grepResultList = NULL;
cJSON *valArray = NULL;
char* jsonReport = NULL;
char* customLogPath = NULL;
Expand Down Expand Up @@ -287,27 +286,15 @@ static void* CollectAndReportXconf(void* data)
}
if(profile->topMarkerList != NULL && Vector_Size(profile->topMarkerList) > 0)
{
Vector *topMarkerResultList = NULL;
Vector_Create(&topMarkerResultList);
processTopPattern(profile->name, profile->topMarkerList, topMarkerResultList, count);
long int reportSize = Vector_Size(topMarkerResultList);
if(reportSize != 0)
{
T2Info("Top markers report is compleated report size %ld\n", (unsigned long)reportSize);
encodeGrepResultInJSON(valArray, topMarkerResultList);
}
else
{
T2Debug("Top markers report generated but is empty possabliy the memory value is changed");
}
Vector_Destroy(topMarkerResultList, freeGResult);
processTopPattern(profile->name, profile->topMarkerList, count);
T2Info("Top markers report is completed\n");
encodeTopResultInJSON(valArray, profile->topMarkerList);
}
if(profile->gMarkerList != NULL && Vector_Size(profile->gMarkerList) > 0)
{
getGrepResults(&(profile->grepSeekProfile), profile->gMarkerList, &grepResultList, profile->bClearSeekMap, checkRotated, customLogPath); // Passing 5th argument as true to check rotated logs only in case of single profile
getGrepResults(&(profile->grepSeekProfile), profile->gMarkerList, profile->bClearSeekMap, checkRotated, customLogPath); // Passing 4th argument as true to check rotated logs only in case of single profile
T2Info("Grep complete for %lu markers \n", (unsigned long)Vector_Size(profile->gMarkerList));
encodeGrepResultInJSON(valArray, grepResultList);
Vector_Destroy(grepResultList, freeGResult);
encodeGrepResultInJSON(valArray, profile->gMarkerList);
}

dcaFlagReportCompleation();
Expand Down
Loading
Loading