From 2e0b7504d964edb89c67c25e9f42982c5caa8b51 Mon Sep 17 00:00:00 2001 From: Paul Gaiduk Date: Tue, 26 Nov 2024 17:41:01 +0100 Subject: [PATCH] proto: add new metrics for newlog 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 --- proto/metrics/metrics.proto | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/proto/metrics/metrics.proto b/proto/metrics/metrics.proto index c8d1bfb..6bbba9b 100644 --- a/proto/metrics/metrics.proto +++ b/proto/metrics/metrics.proto @@ -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