Share this page

# LrKafkaProducer.metrics

Calls the metrics method on the KafkaProducer initialized for the Vuser.

`public static Map<MetricName, ? extends Metric> metrics()`

## Arguments

This function does not have any arguments.

## Return Values

Returns the full set of internal metrics maintained by the producer.

## General information

This function retrieves the internal metrics maintained by the producer.

For more information about this function, see the Apache Kafka documentation.

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: