You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/11/09 01:28:00 UTC
[jira] [Commented] (NIFI-8272) Deleted/renamed metrics are still
being shown in the REST API Prometheus endpoint
[ https://issues.apache.org/jira/browse/NIFI-8272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17440842#comment-17440842 ]
ASF subversion and git services commented on NIFI-8272:
-------------------------------------------------------
Commit f410c8df0a2b05cdf078e3d3f6b086ac7ebed5f9 in nifi's branch refs/heads/main from noblenumbat360
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=f410c8d ]
NIFI-8272 Delete stale metrics from REST API Prometheus endpoint.
Added <scope>test</scope> tag to the nifi-web-api pom.xml and corrected imports.
Signed-off-by: Matthew Burgess <ma...@apache.org>
This closes #5447
> 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
>
> Time Spent: 1h 10m
> 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)