nginxinc/nginx-prometheus-exporter

Support logger injection

ciarams87 opened this issue · 7 comments

As a user of the prometheus exporter as a library
I would like a mechanism to inject a logger
So that I can provide my own logging structure

Hey @ciarams87
Not a lot of information here about what this entails.
Are there any impacts on core prometheus exporter users?

I think this should be possible with the new changes made in #420

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 10 days.

This issue was closed because it has been stalled for 10 days with no activity.

I think this should be possible with the new changes made in #420

@lucacome The logger we use in NGF (logr.Logger) does not implement the log.Logger interface so this is still an issue for us.

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 10 days.

This issue was closed because it has been stalled for 10 days with no activity.