lib/splash/webadmin/portal/controllers/proxy.rb in prometheus-splash-0.8.1 vs lib/splash/webadmin/portal/controllers/proxy.rb in prometheus-splash-0.8.2
- old
+ new
@@ -17,10 +17,11 @@
reverse_proxy_options preserve_host: true
end
WebAdminApp.get '/proxy/links' do
get_menu 5
-
+ log = get_logger
+ log.call "WEB : proxy, verb : GET, controller : /proxy/links"
config = get_config
if config.webadmin_proxy == true then
@proxy = true
@pushgateway_url = "http://#{config.webadmin_ip}:#{config.webadmin_port}/pushgateway"
@prometheus_url = "http://#{config.webadmin_ip}:#{config.webadmin_port}/prometheus"