From 238fc9824779adbd15faacac6c8bd3c8390f2619 Mon Sep 17 00:00:00 2001 From: Karl Sassenberg Date: Fri, 17 Feb 2023 18:35:40 +0000 Subject: [PATCH] feat: adding report type to aggregation debug logs --- src/plugins/metrics_throlling.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/metrics_throlling.go b/src/plugins/metrics_throlling.go index 4770cee78b..2eb7f59b67 100644 --- a/src/plugins/metrics_throlling.go +++ b/src/plugins/metrics_throlling.go @@ -101,7 +101,7 @@ func (r *MetricsThrottle) Process(msg *core.Message) { collection := metrics.SaveCollections(*r.metricsCollections[report.Type], report) r.metricsCollections[report.Type] = &collection r.mu.Unlock() - log.Debug("MetricsThrottle: Metrics collection saved") + log.Debugf("MetricsThrottle: Metrics collection saved [Type: %d]", report.Type) r.reportsReady.Store(true) } } else {