Skip to content

Difference between sent_bytes and sent_event_bytes in component telemetry #22848

Answered by pront
mditsworth asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @mditsworth, this a nuanced topic. Hope the following explanation helps:

component_[received/sent]_bytes_total

  • Only sinks emit component_sent_bytes_total. Transforms emit neither. This represents the number of bytes (not compressed) received or sent by the component. It is not the raw network bytes.

component_[received/sent]_event_bytes_total

This represents the estimated JSON size, in bytes, of the events sent by the component. For sinks, the sent_ value is reported before the sink enriches the event with any service integration-specific data.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pront
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
domain: metrics Anything related to Vector's metrics events
2 participants