You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I was wondering about the decision to include PORT as the default here. My understanding might be wrong but if I have a webserver like Unicorn or Puma I probably have 'PORT' defined in my environment already. When starting the metrics server from my Unicorn process (for example) the metrics server would fail to start due to port collision with the already running unicorn. So I pretty much have to define 'PROMETHEUS_EXPORTER_PORT=9394' even if I'm okay with the default port number.
I'm happy to write up a PR for this change but thought I'd ask about the usage or thoughts behind this line of code first.
Thanks much! Really appreciate this project and your work!
Hello, I was wondering about the decision to include
PORT
as the default here. My understanding might be wrong but if I have a webserver like Unicorn or Puma I probably have 'PORT' defined in my environment already. When starting the metrics server from my Unicorn process (for example) the metrics server would fail to start due to port collision with the already running unicorn. So I pretty much have to define 'PROMETHEUS_EXPORTER_PORT=9394' even if I'm okay with the default port number.I'm happy to write up a PR for this change but thought I'd ask about the usage or thoughts behind this line of code first.
Thanks much! Really appreciate this project and your work!
yabeda-prometheus-mmap/lib/yabeda/prometheus/mmap/exporter.rb
Line 25 in 5edb9f1
The text was updated successfully, but these errors were encountered: