[
https://issues.apache.org/jira/browse/NIFI-8272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe Witt updated NIFI-8272:
---------------------------
Fix Version/s: 1.15.1
> 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
> Reporter: Noble Numbat
> Assignee: Noble Numbat
> Priority: Minor
> Labels: REST_API, metrics, prometheus
> Fix For: 1.16.0, 1.15.1
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> 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.20.1#820001)