You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Burgess (Jira)" <ji...@apache.org> on 2021/10/26 00:38: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=17434063#comment-17434063 ]
Matt Burgess commented on NIFI-8272:
------------------------------------
Not sure this works on Summaries or Histograms, but we're not collecting those metrics at this point, just wanted to mention a possible limitation in the future
> 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.13.0, 1.12.1, 1.14.0
> Reporter: Noble Numbat
> Assignee: Noble Numbat
> Priority: Minor
> Labels: REST_API, metrics, prometheus
> Time Spent: 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.3.4#803005)