Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
damemi committed Jun 13, 2023
1 parent 0283354 commit e69ca21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions exporter/collector/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ func (me *MetricsExporter) PushMetrics(ctx context.Context, m pmetric.Metrics) e
errs = append(errs, fmt.Errorf("failed to marshal protobuf to bytes: %+v", err))
continue
}
fmt.Println("Writing entry to WAL")
err = me.wal.Write(me.wal.wIndex.Add(1), bytes)
if err != nil {
errs = append(errs, fmt.Errorf("failed to write to WAL: %+v", err))
Expand Down

0 comments on commit e69ca21

Please sign in to comment.