Commit f7cb7712 authored by Stan Hu's avatar Stan Hu

Save Gitaly CI Prometheus metrics to a log file

This will avoid the clutter in the job logs.
parent e54e741d
......@@ -104,9 +104,9 @@ RSpec.configure do |config|
warn "=== uptime"
warn `uptime`
warn "=== Prometheus metrics:"
warn `curl -s http://localhost:9236/metrics`
warn `curl -s -o log/gitaly-metrics.log http://localhost:9236/metrics`
warn "=== Taking goroutine dump in log/goroutines.log..."
warn `curl -o log/goroutines.log http://localhost:9236/debug/pprof/goroutine?debug=2`
warn `curl -s -o log/goroutines.log http://localhost:9236/debug/pprof/goroutine?debug=2`
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment