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

Pierre Villard updated NIFI-13984:
----------------------------------
    Summary: The NiFi API endpoints /flow/metrics/{producer} return UUIDs 
instead of Names for some component tags  (was: The NiFi API endpoints 
/flow/metrics/{producer} return incorrect tags)

> The NiFi API endpoints /flow/metrics/{producer} return UUIDs instead of Names 
> for some component tags
> -----------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-13984
>                 URL: https://issues.apache.org/jira/browse/NIFI-13984
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.27.0, 1.28.0, 2.0.0
>            Reporter: Thierry PRATS
>            Priority: Major
>
> The NiFi API endpoints */flow/metrics/json* and */flow/metrics/prometheus* 
> return incorrect tags.
> The component_name is equals to component_id. The same issue applies to the 
> tags instance,  source_name and destination_name, which correspond to their 
> IDs instead of their names.
>  
> {code:java}
> nifi_backpressure_object_threshold{instance="06b54bc5-0193-1000-5670-9401702949e1",component_type="Connection",component_name="79983e52-2251-3f91-d7cc-6b9a6a9689eb",component_id="79983e52-2251-3f91-d7cc-6b9a6a9689eb",parent_id="89304f0c-484a-34eb-4faf-c651764a3e2c",source_id="8aa608dd-ca4e-395a-e06e-e7f9f5adba5b",source_name="8aa608dd-ca4e-395a-e06e-e7f9f5adba5b",destination_id="efcb5c03-046c-3ddf-7b75-f1dabf647d45",destination_name="efcb5c03-046c-3ddf-7b75-f1dabf647d45",}
>  10000.0
> {code}
>  
> What is expected :
> {noformat}
> nifi_backpressure_object_threshold{instance="nifi",component_type="Connection",component_name="success",component_id="79983e52-2251-3f91-d7cc-6b9a6a9689eb",parent_id="89304f0c-484a-34eb-4faf-c651764a3e2c",source_id="8aa608dd-ca4e-395a-e06e-e7f9f5adba5b",source_name="LOGMETRIC_CorrAttrName_NOT_NUMBER",destination_id="efcb5c03-046c-3ddf-7b75-f1dabf647d45",destination_name="UpdateAttribute",}
>  10000.0{noformat}



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

Reply via email to