[
https://issues.apache.org/jira/browse/MINIFICPP-2488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ferenc Gerlits resolved MINIFICPP-2488.
---------------------------------------
Resolution: Fixed
> Prometheus metric family type definitions are duplicated
> --------------------------------------------------------
>
> Key: MINIFICPP-2488
> URL: https://issues.apache.org/jira/browse/MINIFICPP-2488
> Project: Apache NiFi MiNiFi C++
> Issue Type: Bug
> Reporter: Gábor Gyimesi
> Assignee: Gábor Gyimesi
> Priority: Major
> Fix For: 0.99.1
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Currently all metric response nodes are mapped to a corresponding Prometheus
> metric collection and every metric defines a separate metric family. Due to
> this when metric names are duplicated and only different in labels, they
> define separate Prometheus TYPE objects with the same name which causes
> duplicate type definitions. This duplicate type definition causes errors in
> metric collectors like Telegraf.
> We should collect all minifi metrics in a single collection and group metrics
> in families by metric name to avoid this issue.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)