[ 
https://issues.apache.org/jira/browse/NIFI-14589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yuanhao Zhu updated NIFI-14589:
-------------------------------
    Summary: Make prometheus metrics instance id configurable when running as 
standalone instance  (was: Make prometheus metrics instance id configurable)

> Make prometheus metrics instance id configurable when running as standalone 
> instance
> ------------------------------------------------------------------------------------
>
>                 Key: NIFI-14589
>                 URL: https://issues.apache.org/jira/browse/NIFI-14589
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Yuanhao Zhu
>            Priority: Major
>   Original Estimate: 20m
>  Remaining Estimate: 20m
>
> In 2.x nifi, the prometheus metrics uses the instance id/node id in the 
> metrics data, while in nifi 1.x, in the corresponding component 
> PrometheusReportingTask, we can actually configure the instance id presented 
> in the metrics. It would be great to also align that behavior in the 2.x 
> nifi-api prometheus metrics by making the instance id configurable so that 
> when getting the metrics, we can have two options, use the instance/node id, 
> or use a instance id/name that we assign, which is extremely helpful to 
> analyze the metrics in databases.



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

Reply via email to