[
https://issues.apache.org/jira/browse/IMPALA-13638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Sherman resolved IMPALA-13638.
-------------------------------------
Fix Version/s: Impala 4.5.0
Resolution: Fixed
> 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
> Priority: Critical
> Fix For: Impala 4.5.0
>
>
> 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)