[ 
https://issues.apache.org/jira/browse/NIFI-7378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17089735#comment-17089735
 ] 

ASF subversion and git services commented on NIFI-7378:
-------------------------------------------------------

Commit cd10435b9fa5ab180c80ef5c04069971b32b0fa9 in nifi's branch 
refs/heads/master from Matt Burgess
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=cd10435 ]

NIFI-7378: Ensure label values are not null in Prometheus metrics (#4219)



> 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
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)

Reply via email to