public Stat stat() {
            return stat;
        }
A sensor applies a continuous sequence of numerical values to a set of associated metrics. For example a sensor on
message size would record a sequence of message sizes using the {@link #record(double)} api and would maintain a set
of metrics about request sizes such as the average or max.
clients/src/main/java/org/apache/kafka/common/metrics/Sensor.java