[TRA-4189] Traffic Volume in GB for General Status and telemetry (#696)

This commit is contained in:
Gustavo Massaneiro
2022-01-26 05:49:42 -03:00
committed by GitHub
parent a9a61edd50
commit 843ac722c9
4 changed files with 43 additions and 6 deletions

View File

@@ -53,6 +53,7 @@ func ReportTapTelemetry(apiProvider *apiserver.Provider, args interface{}, start
"args": string(argsBytes),
"executionTimeInSeconds": int(time.Since(startTime).Seconds()),
"apiCallsCount": generalStats["EntriesCount"],
"trafficVolumeInGB": generalStats["EntriesVolumeInGB"],
}
if err := sendTelemetry(argsMap); err != nil {