You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Burgess (Jira)" <ji...@apache.org> on 2020/04/20 20:58:00 UTC

[jira] [Assigned] (NIFI-7378) Prometheus components give error when null labels are provided

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

Matt Burgess reassigned NIFI-7378:
----------------------------------

    Assignee: Matt Burgess

> Prometheus components give error when null labels are provided
> --------------------------------------------------------------
>
>                 Key: NIFI-7378
>                 URL: https://issues.apache.org/jira/browse/NIFI-7378
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Matt Burgess
>            Assignee: Matt Burgess
>            Priority: Major
>
> It is possible for some components that a field used as a label in the metrics will have a null value. In that case the scraping fails and thus no metrics are available.
> The code should be defensive in the sense of setting a default value for all null labels.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)