From 1126067bd13e2b469d2e2be632201ddba4cdba49 Mon Sep 17 00:00:00 2001 From: ikhan-tc Date: Fri, 4 Feb 2022 12:28:54 -0500 Subject: [PATCH 1/2] fix indendation issue --- exporter/datadogexporter/metrics_exporter.go | 1 + 1 file changed, 1 insertion(+) diff --git a/exporter/datadogexporter/metrics_exporter.go b/exporter/datadogexporter/metrics_exporter.go index a0cb6631c5c2..da78ee8929c0 100644 --- a/exporter/datadogexporter/metrics_exporter.go +++ b/exporter/datadogexporter/metrics_exporter.go @@ -178,6 +178,7 @@ func (exp *metricsExporter) PushMetricsData(ctx context.Context, md pdata.Metric err = nil if len(ms) > 0 { + exp.params.Logger.Debug("exporting payload", zap.Any("metric", ms)) err = multierr.Append( err, exp.retrier.DoWithRetries(ctx, func(context.Context) error { From caa051a84811315b599887ebb37b3892b322cfdd Mon Sep 17 00:00:00 2001 From: ikhan-tc Date: Tue, 8 Feb 2022 15:06:17 -0500 Subject: [PATCH 2/2] Fix Indendation issue --- exporter/datadogexporter/metrics_exporter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exporter/datadogexporter/metrics_exporter.go b/exporter/datadogexporter/metrics_exporter.go index da78ee8929c0..4dded0f28a5d 100644 --- a/exporter/datadogexporter/metrics_exporter.go +++ b/exporter/datadogexporter/metrics_exporter.go @@ -178,7 +178,7 @@ func (exp *metricsExporter) PushMetricsData(ctx context.Context, md pdata.Metric err = nil if len(ms) > 0 { - exp.params.Logger.Debug("exporting payload", zap.Any("metric", ms)) + exp.params.Logger.Debug("exporting payload", zap.Any("metric", ms)) err = multierr.Append( err, exp.retrier.DoWithRetries(ctx, func(context.Context) error {