Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Prometheus Metrics Server returns 500 (Internal Server Error) when a Remote Process Group is used. The error message:
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)
Just because the labels number of `ACTIVE_REMOTE_PORT_COUNT`, `INACTIVE_REMOTE_PORT_COUNT`, and `AVERAGE_LINEAGE_DURATION` are unmatched.
Attachments
Issue Links
- links to