Commit 2e4e38ad authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'sh-cleanup-prom-metrics' into 'master'

Save Gitaly CI Prometheus metrics to a log file

See merge request gitlab-org/gitlab!56863
parents 778be1b8 f7cb7712
......@@ -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