Skip to content

Commit

Permalink
add debug flag to print sketches payload
Browse files Browse the repository at this point in the history
  • Loading branch information
kmotupalli-tc committed Mar 29, 2022
1 parent 3ac430f commit e0a45e2
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 @@ -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 {
Expand Down

0 comments on commit e0a45e2

Please sign in to comment.