You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Andrew Sherman (Jira)" <ji...@apache.org> on 2025/01/02 22:39:00 UTC

[jira] [Created] (IMPALA-13638) Translate apostrophe to underscore in Prometheus metric names.

Andrew Sherman created IMPALA-13638:
---------------------------------------

             Summary: Translate apostrophe to underscore in Prometheus metric names.
                 Key: IMPALA-13638
                 URL: https://issues.apache.org/jira/browse/IMPALA-13638
             Project: IMPALA
          Issue Type: Bug
          Components: Backend
    Affects Versions: Impala 4.4.0
            Reporter: Andrew Sherman
            Assignee: Andrew Sherman


Impala has some metrics that reflect the state of the JVM. Some of these metrics have names that are partly composed of the names of the MemoryPoolMXBean objects in the Java virtual machine. In Jdk8 these are names like "Code Cache" and "PS Eden Space".  In Jdk11 these names include apostrophe characters, for example "CodeHeap 'profiled nmethods'". The derived metric names work OK for Impala in both the webui and in json output. However the apostrophe character is illegal in Prometheus metric names per https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels and these metrics cannot be consumed by Prometheus. Fix this by adding the apostrophe to the list of characters that are mapped to underscores when we translate the metric names for Prometheus metrics.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org