Skip to content

Commit

Permalink
proto: add new metrics for newlog
Browse files Browse the repository at this point in the history
Add new metrics for newlog:
- totalSizeLogs: total size of logs on device
- oldestSavedDeviceLog: timestamp of the latest device log saved on
device

Signed-off-by: Paul Gaiduk <paulg@zededa.com>
  • Loading branch information
europaul committed Nov 26, 2024
1 parent b026f21 commit 2e0b750
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions proto/metrics/metrics.proto
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,10 @@ message newlogMetric {
uint32 tooManyRequest = 21;
// counter for gzip files bypassing the uploading to cloud
uint32 skipUploadAppFile = 22;
// total size of logs on device
uint64 totalSizeLogs = 23;
// timestamp of the latest device log saved on device
google.protobuf.Timestamp oldestSavedDeviceLog = 24;
}

// logfileMetrics - is shared for both device log and application log
Expand Down

0 comments on commit 2e0b750

Please sign in to comment.