[
https://issues.apache.org/jira/browse/IGNITE-27227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Tupitsyn updated IGNITE-27227:
------------------------------------
Description: Ignite exposes metrics as plain types, i.e. {{{}Integer{}}},
{{{}Long{}}}, {{String}} etc… Prometheus agent expects MBean attributes to be
{{{}javax.management.Attribute{}}}. See
[JmxScrapper.scrapeBean()|https://github.com/prometheus/jmx_exporter/blob/e753690679bf496bd82a0c272d0bc02d0c9ed19a/collector/src/main/java/io/prometheus/jmx/JmxScraper.java#L224]
As a result prometheus simply doesn’t see any metric. (was: All metrics in
GG9 exposes metrics as plan types, i.e. {{{}Integer{}}}, {{{}Long{}}},
{{String}} etc… Prometheus agent expects MBean attributes to be
{{{}javax.management.Attribute{}}}. See
[JmxScrapper.scrapeBean()|https://github.com/prometheus/jmx_exporter/blob/e753690679bf496bd82a0c272d0bc02d0c9ed19a/collector/src/main/java/io/prometheus/jmx/JmxScraper.java#L224]
As a result prometheus simply doesn’t see any metric.)
> Metrics exposed via JmxExporter are not visible to prometheus javaagent
> -----------------------------------------------------------------------
>
> Key: IGNITE-27227
> URL: https://issues.apache.org/jira/browse/IGNITE-27227
> Project: Ignite
> Issue Type: Bug
> Affects Versions: 3.1
> Reporter: Vyacheslav Koptilin
> Assignee: Vyacheslav Koptilin
> Priority: Major
> Labels: ignite-3
> Fix For: 3.2
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Ignite exposes metrics as plain types, i.e. {{{}Integer{}}}, {{{}Long{}}},
> {{String}} etc… Prometheus agent expects MBean attributes to be
> {{{}javax.management.Attribute{}}}. See
> [JmxScrapper.scrapeBean()|https://github.com/prometheus/jmx_exporter/blob/e753690679bf496bd82a0c272d0bc02d0c9ed19a/collector/src/main/java/io/prometheus/jmx/JmxScraper.java#L224]
> As a result prometheus simply doesn’t see any metric.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)