NULL fields spamming warnings #777
|
Hello 😊 I jumped from v0.16.0 to v0.18.0 and sql exporter spammed the logs with warnings at each poll. Example: {..."level":"WARN",
"source":"query.go:226",
"msg":"Value column is NULL",
"logContext":"job=pg-database-metrics-▮▮▮▮▮▮,
target=▮▮▮▮▮▮▮▮▮▮,
collector=postgres_13_database_pg_statio_user_tables,
query=query_pg_statio_user_tables",
"column":"tidx_blks_read"}Indeed, looking at query.go each null value raise a warning. slog.Warn("Value column is NULL", "logContext", q.logContext, "column", column)My questions are the following:
I worked around it by using Thanks for reading and best regards, |
Answered by
burningalchemist
Jul 14, 2025
Replies: 1 comment 3 replies
|
Hey @qfritz, Answering your questions:
I think we have several options:
The only motivation behind this message was to provide enough visibility to the users. I'm generally open to suggestions. What do you think? |
3 replies
Answer selected by
qfritz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @qfritz,
Answering your questions: