Kafka sink metrics to track network traffic #16887
almarcotte
started this conversation in
General
Replies: 1 comment 2 replies
-
Hey! Can you share the configuration you are running as well as Vector version? I would expect |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
We're using the Kafka sink to ship logs to Kafka and we're trying to keep track of network traffic this generates. Looking at the documentation there are a couple of different options:
kafka_produced_messages_bytes_total
component_sent_event_bytes_total
The values for
component_sent_event_bytes_total
seem off though. Additionally, when comparing it tocomponent_received_event_bytes_total
it seems like the delta between them is constantly growing:Why is there such a discrepancy between
received
andsent
? I understand adding metadata and everything but that should be fairly constant, no? Looking here https://github.com/vectordotdev/vector/blob/master/src/sinks/kafka/service.rs#L110 but I might be missing something.Another odd thing we're seeing: the
kafka_produced_messages_bytes_total
metric doesn't have acomponent_id
label even though the documentation says it should. It's not a problem now since we have a singular use-case to send to Kafka from this particular instance of Vector but that might not always be the case at which point we wouldn't be able to tell the difference.Beta Was this translation helpful? Give feedback.
All reactions