postgres_exporter
postgres_exporter copied to clipboard
Bugfix: Make sure all collectors have loggers
I think this will make sure all loggers will also tell us when they got queried.
@sysadmind @SuperQ
I agree, I'm not sure I see where the log collector struct field is used anywhere. I wonder if this is an old feature that has been refactored away.
Ahh, no, a few collectors use c.log for debug messages.
Unless this PR is updated to include log messages when relevant, I don't think we need this PR. @Sticksman I will leave it up to you to decide if you want to add log messages or close the PR.