nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (Jira)" <j...@apache.org>
Subject [jira] [Commented] (NIFI-6716) Prometheus Metrics Server returns 500 when a Remote Process Group used
Date Thu, 03 Oct 2019 09:09:00 GMT

    [ https://issues.apache.org/jira/browse/NIFI-6716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16943441#comment-16943441
] 

ASF subversion and git services commented on NIFI-6716:
-------------------------------------------------------

Commit 261a39599231aaab0115d30eaf8340fdf3801965 in nifi's branch refs/heads/master from Kotaro
Terada
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=261a395 ]

NIFI-6716: Prometheus Metrics Server returns 500 when a Remote Process Group used

Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #3767.


> 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
>          Time Spent: 10m
>  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)

Mime
View raw message