[
https://issues.apache.org/jira/browse/NIFI-13984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17898525#comment-17898525
]
Julien G. edited comment on NIFI-13984 at 11/15/24 8:53 AM:
------------------------------------------------------------
I'm using NiFi with Single User Authentication and its Docker image:
- On Kubernetes
- Locally with a Docker container that was upgraded from 1.X to 2 and did
almost all the version since 1.2X
- Locally with a fresh Docker container (0 modification)
In these 3 cases, the instance is always an UUID. So I guess the problem is
with the Docker image.
But maybe, you weren't talking about the instance field?
was (Author: juldrixx):
I'm using NiFi with Single User Authentication and its Docker image:
- On Kubernetes
- Locally with a Docker container that was upgraded from 1.X to 2 and did
almost all the version since 1.2X
- Locally with a fresh Docker container (0 modification)
In these 3 cases, the instance is always an UUID. So I guess the problem is
with the Docker image.
> The NiFi API endpoints /flow/metrics/{producer} return incorrect 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)