xk6-kafka
xk6-kafka copied to clipboard
Export metrics' samples on top-level classes
Like, is it possible to get the metrics from kafka "Metric: k.metrics.WriterErrors" and "Metric: k.metrics.WriterMessages" in my JS script? If it is, so I just need to learn how and I can go forward about it.
Originally posted by @rodrigotheodoropsv in https://github.com/mostafa/xk6-kafka/issues/160#issuecomment-1238609795
Top-level classes are Writer
, Reader
, Connection
and SchemaRegistry
. Refer to ResponseTimings
.