# Metrics for uncompressed bytes

**URL:** <https://forum.confluent.io/t/metrics-for-uncompressed-bytes/7277>\
**Category:** Architecture and Design\
**Created:** [21 February 2023 15:18 UTC](https://forum.confluent.io/t/metrics-for-uncompressed-bytes/7277 "2023-02-21T15:18:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![laurenmulholland](https://avatars.discourse-cdn.com/v4/letter/l/6de8d8/32.png) [@laurenmulholland](https://forum.confluent.io/u/laurenmulholland)\
**Post date:** [21 February 2023 15:18 UTC](https://forum.confluent.io/t/metrics-for-uncompressed-bytes/7277/1 "2023-02-21T15:18:12Z")

</div>

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](https://docs.confluent.io/platform/current/kafka/monitoring.html#monitoring-ak-with-jmx), 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?
