[ 
https://issues.apache.org/jira/browse/NIFI-6716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kotaro Terada updated NIFI-6716:
--------------------------------
    Description: 
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:405)}}
 {{at 
org.apache.nifi.reporting.prometheus.PrometheusServer$MetricsServlet.doGet(PrometheusServer.java:74)}}
{quote}
Just because the labels number of `ACTIVE_REMOTE_PORT_COUNT`, 
`INACTIVE_REMOTE_PORT_COUNT`, and `AVERAGE_LINEAGE_DURATION` is unmatch.

  was:
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.


> 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
>            Priority: Major
>
> 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:405)}}
>  {{at 
> org.apache.nifi.reporting.prometheus.PrometheusServer$MetricsServlet.doGet(PrometheusServer.java:74)}}
> {quote}
> Just because the labels number of `ACTIVE_REMOTE_PORT_COUNT`, 
> `INACTIVE_REMOTE_PORT_COUNT`, and `AVERAGE_LINEAGE_DURATION` is unmatch.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to