Skip to content

NULL fields spamming warnings #777

Closed Answered by burningalchemist
qfritz asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @qfritz,

Answering your questions:

  • Yeah, the NULL values are supported (or at least I'm trying my best supporting them); The main difference just for clarity is that we cannot really treat NULL as 0 in the metric definition. And for the Prometheus metric the value must be float64. So we are able to handle the result set with NULL values, but discard it later when it's about to turn into a metric;
  • The idea with such queries was that there are queries where some columns contain NULL values (but not permanent), so when there is a value - we scrape it, otherwise we skip and inform the user in the log;
  • I'd say if your the constantly returns NULL, that probably it's easier to rework the qu…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@qfritz
Comment options

@burningalchemist
Comment options

@burningalchemist
Comment options

Answer selected by qfritz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants