xk6-kafka icon indicating copy to clipboard operation
xk6-kafka copied to clipboard

Export metrics' samples on top-level classes

Open mostafa opened this issue 1 year ago • 0 comments

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.

mostafa avatar Sep 07 '22 07:09 mostafa