-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
How can I turn off request logging from the plugin's Rack app? I don't particularly need to see ... GET /metrics ...
every minute in my Rails logs.
It took me a while to work out standard Puma config in config/puma.rb
to quiet requests wasn't having any effect because the plugin creates its own Rack app!
I managed to prove it works by editing yabeda_prometheus.rb
and adding log_writer: Puma::LogWriter.null
as an argument to Puma::Server.new
. Is that the best way, or is there another, less intrusive way to do this?
Would you accept a PR to make this configurable from config/puma.rb
?
Thanks
Metadata
Metadata
Assignees
Labels
No labels