Kotaro Terada created NIFI-6716:
-----------------------------------
Summary: Prometheus Metrics Server returns 500 when a Remote
Process Group used
Key: NIFI-6716
URL: https://issues.apache.org/jira/browse/NIFI-6716
Project: Apache NiFi
Issue Type: Bug
Reporter: Kotaro Terada
Assignee: Kotaro Terada
Prometheus Metrics Server returns 500 (Internal Server Error) when a Remote
Process Group is used. The error message:
{quote}{{java.lang.IllegalArgumentException: Incorrect number of labels.}}
{{at io.prometheus.client.SimpleCollector.labels(SimpleCollector.java:64)}}
{{at
org.apache.nifi.reporting.prometheus.api.PrometheusMetricsUtil.createNifiMetrics(PrometheusMetricsUtil.java:408)}}
{{at
org.apache.nifi.reporting.prometheus.PrometheusServer$MetricsServlet.doGet(PrometheusServer.java:74)}}
{quote}
Just because the labels number of `AVERAGE_LINEAGE_DURATION` is unmatch.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)