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 21:08:00 UTC
[jira] [Updated] (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 updated NIFI-7378:
-------------------------------
Status: Patch Available (was: In Progress)
> 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: 10m
> 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)