[ 
https://issues.apache.org/jira/browse/NIFI-15454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18061312#comment-18061312
 ] 

vishal commented on NIFI-15454:
-------------------------------

To add component_class label to NiFi metrics registry, I will 
populate it from ProcessorNode.getCanonicalClassName() into 
ProcessorStatus and pass it through to PrometheusMetricsUtil. 
This requires adding a new field to ProcessorStatus in the 
nifi-api repository.

Please let me know if this approach is correct.

> Add component_class to prometheus metrics
> -----------------------------------------
>
>                 Key: NIFI-15454
>                 URL: https://issues.apache.org/jira/browse/NIFI-15454
>             Project: Apache NiFi
>          Issue Type: New Feature
>            Reporter: Brian Putt
>            Priority: Major
>
> Looking to add component_class to the nifi metrics registry.
> nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/prometheusutil/NiFiMetricsRegistry.java
>  
> For example, it would be nice to graph out by processor type....I'd like to 
> be able to get all of my ListenHTTP processors and graph out how much data is 
> being received. Yes, I can do that with a list of processor ids, but if I 
> drop a new ListenHTTP processor onto the canvas, I'd have to add that id to 
> my charts.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to