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

Pierre Villard updated NIFI-6716:
---------------------------------
    Labels: monitoring  (was: )

> 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
>          Components: Extensions
>            Reporter: Kotaro Terada
>            Assignee: Kotaro Terada
>            Priority: Major
>              Labels: monitoring
>             Fix For: 1.10.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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` are unmatched.



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

Reply via email to