You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Gábor Gyimesi (Jira)" <ji...@apache.org> on 2024/11/06 15:37:00 UTC
[jira] [Created] (MINIFICPP-2488) Prometheus metric family type definitions are duplicated
Gábor Gyimesi created MINIFICPP-2488:
----------------------------------------
Summary: 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
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)