Skip to content

Commit

Permalink
feat(server): adds event ingestion count to createeventsresponse
Browse files Browse the repository at this point in the history
  • Loading branch information
mattevans committed Nov 4, 2024
1 parent eeb551b commit f657c6e
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 f657c6e

Please sign in to comment.