This is an automated email from the ASF dual-hosted git repository.

joemcdonnell pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit 7a1fe97ae157b19cb19120e26e6a119b4406a893
Author: Joe McDonnell <[email protected]>
AuthorDate: Mon Oct 14 14:16:50 2024 -0700

    IMPALA-13412: Use the BYTES type for tuple cache entries-in-use-bytes
    
    The impala.tuple-cache.entries-in-use-bytes metric currently
    uses the UNIT type. This switches it to the BYTES type so that
    the entry in the WebUI displays it in a clearer way (e.g. GBs).
    This switches impala.codegen-cache.entries-in-use-bytes the same
    way.
    
    Testing:
     - Ran a core job
    
    Change-Id: Ib02bbc1c7e796c8d83c58fa12d5c18012753e300
    Reviewed-on: http://gerrit.cloudera.org:8080/21939
    Reviewed-by: Impala Public Jenkins <[email protected]>
    Tested-by: Impala Public Jenkins <[email protected]>
---
 common/thrift/metrics.json | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/thrift/metrics.json b/common/thrift/metrics.json
index 1ec740834..d788be77c 100644
--- a/common/thrift/metrics.json
+++ b/common/thrift/metrics.json
@@ -45,7 +45,7 @@
       "IMPALAD"
     ],
     "label": "In-use CodeGen Cache Entries total bytes",
-    "units": "UNIT",
+    "units": "BYTES",
     "kind": "GAUGE",
     "key": "impala.codegen-cache.entries-in-use-bytes"
   },
@@ -135,7 +135,7 @@
       "IMPALAD"
     ],
     "label": "In-use Tuple Cache Entries total bytes",
-    "units": "UNIT",
+    "units": "BYTES",
     "kind": "GAUGE",
     "key": "impala.tuple-cache.entries-in-use-bytes"
   },

Reply via email to