mattyb149 commented on a change in pull request #4156: NIFI-7273: Add flow
metrics REST endpoint with for Prometheus scraping
URL: https://github.com/apache/nifi/pull/4156#discussion_r399339966
##########
File path:
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/NiFiServiceFacade.java
##########
@@ -313,6 +313,11 @@
*/
FlowConfigurationEntity getFlowConfiguration();
+ /**
+ * Gets the metrics for the flow.
+ */
+ void getFlowMetrics();
Review comment:
Changed to generateFlowMetrics() (I didn't use `create` as it appears to be
meant for creating components via the facade)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services