Skip to content

Commit

Permalink
Merge pull request #405 from ethpandaops/debug/additional-event-count…
Browse files Browse the repository at this point in the history
…-logging

feat(server): adds event ingestion count to createeventsresponse
  • Loading branch information
mattevans authored Nov 4, 2024
2 parents eeb551b + f657c6e commit 813387f
Show file tree
Hide file tree
Showing 4 changed files with 2,297 additions and 2,271 deletions.
5 changes: 4 additions & 1 deletion pkg/output/xatu/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,10 @@ func (e *ItemExporter) sendUpstream(ctx context.Context, items []*pb.DecoratedEv
return err
}

logCtx.WithField("response", rsp).Debug("Received response from Xatu sink")
logCtx.WithFields(logrus.Fields{
"events_ingested": rsp.GetEventsIngested().GetValue(),
"events_sent": len(items),
}).Debug("Received response from Xatu sink")

return nil
}
Loading

0 comments on commit 813387f

Please sign in to comment.