Skip to content

Commit

Permalink
added debug flag to print metrics payload
Browse files Browse the repository at this point in the history
  • Loading branch information
kmotupalli-tc committed Mar 29, 2022
1 parent 1f1d392 commit 3ac430f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions exporter/datadogexporter/metrics_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,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 {
Expand Down

0 comments on commit 3ac430f

Please sign in to comment.