Metrics for uncompressed bytes

For producer and consumer metrics, I believe that volume metrics will be reporting the compressed sizes, if the associated data is compressed. I’m referring to the jmx metrics documented here, for example, the mbeans below:

-kafka.producer:client-id={client-id},topic={topic},type=producer-topic-metrics → byte-total
-kafka.consumer:client-id={client-id},topic={topic},type=consumer-fetch-manager-metrics-> bytes-consumed-total

Is it possible to report on or access metrics for the data before/after it is compressed if applicable?