From e0a45e2de564b20e995d4a215bcddd8b31b640ae Mon Sep 17 00:00:00 2001 From: Keerthi Motupalli Date: Tue, 29 Mar 2022 15:48:34 -0400 Subject: [PATCH] add debug flag to print sketches payload --- 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 19fe6fb5e848..3f5b33f0683e 100644 --- a/exporter/datadogexporter/metrics_exporter.go +++ b/exporter/datadogexporter/metrics_exporter.go @@ -196,6 +196,7 @@ func (exp *metricsExporter) PushMetricsData(ctx context.Context, md pdata.Metric } if len(sl) > 0 { + exp.params.Logger.Debug("exporting sketches payload", zap.Any("sketches", sl)) err = multierr.Append( err, exp.retrier.DoWithRetries(ctx, func(ctx context.Context) error {