Noble Numbat created NIFI-8272:
----------------------------------
Summary: Deleted/renamed metrics are still being shown in the REST
API Prometheus endpoint
Key: NIFI-8272
URL: https://issues.apache.org/jira/browse/NIFI-8272
Project: Apache NiFi
Issue Type: Bug
Affects Versions: 1.12.1, 1.13.0, 1.14.0
Reporter: Noble Numbat
Processors, connections, funnels, etc that have been deleted/renamed from a
flow are still being shown in the REST API Prometheus metrics endpoint at their
last reported value before they were deleted/renamed.
I checked the PrometheusReportingTask and deleted items are not displayed in
the metrics output as I would expect is the correct behaviour.
The bug can be replicated with a flow as simple as a single processor by
deleting the processor and observing the metrics still included on subsequent
calls to the endpoint.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)