You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Shailesh Ligade <SL...@FBI.GOV> on 2021/08/09 15:34:06 UTC

nifi 1.11 /metrics and prometheus question

Hello,

In the data produced by /metrics, I can see aline

# HELP nifi_backpressure_enabled Whether backpressure has been applied for this component. Values are 0 or 1

However I don't see any data related to backpressure, even though I am pretty sure there should be some backpressure data.

Do I need to turn this ON (nifi_backpressure_enabled), or some other property? If so where? I don't see anything related to this on Prometheus reporting task.

Thanks

-S


RE: [EXTERNAL EMAIL] - Re: nifi 1.11 /metrics and prometheus question

Posted by Shailesh Ligade <SL...@FBI.GOV>.
Thanks Matt

Sorry my bad, I am suing 1.12.1. The issues states that it was fixed in 1.12. May be in the later version of 1.12. Let me see

Thanks

-S

-----Original Message-----
From: Matt Burgess <ma...@apache.org> 
Sent: Monday, August 9, 2021 11:57 AM
To: users@nifi.apache.org
Subject: [EXTERNAL EMAIL] - Re: nifi 1.11 /metrics and prometheus question

You might be running into NIFI-7379 [1] where the different Prometheus components are writing to the same registries. If you upgrade to a later version of NiFi you should see the correct data.

Regards,
Matt

[1] https://issues.apache.org/jira/browse/NIFI-7379

On Mon, Aug 9, 2021 at 11:35 AM Shailesh Ligade <SL...@fbi.gov> wrote:
>
> Hello,
>
> In the data produced by /metrics, I can see aline
>
> # HELP nifi_backpressure_enabled Whether backpressure has been applied 
> for this component. Values are 0 or 1
>
> However I don’t see any data related to backpressure, even though I am pretty sure there should be some backpressure data.
>
> Do I need to turn this ON (nifi_backpressure_enabled), or some other property? If so where? I don’t see anything related to this on Prometheus reporting task.
>
> Thanks
>
> -S
>

Re: nifi 1.11 /metrics and prometheus question

Posted by Matt Burgess <ma...@apache.org>.
You might be running into NIFI-7379 [1] where the different Prometheus
components are writing to the same registries. If you upgrade to a
later version of NiFi you should see the correct data.

Regards,
Matt

[1] https://issues.apache.org/jira/browse/NIFI-7379

On Mon, Aug 9, 2021 at 11:35 AM Shailesh Ligade <SL...@fbi.gov> wrote:
>
> Hello,
>
> In the data produced by /metrics, I can see aline
>
> # HELP nifi_backpressure_enabled Whether backpressure has been applied for this component. Values are 0 or 1
>
> However I don’t see any data related to backpressure, even though I am pretty sure there should be some backpressure data.
>
> Do I need to turn this ON (nifi_backpressure_enabled), or some other property? If so where? I don’t see anything related to this on Prometheus reporting task.
>
> Thanks
>
> -S
>