open-nomad/testutil
Dave May f37e90be18
Metrics gotemplate support, debug bundle features (#9067)
* add goroutine text profiles to nomad operator debug

* add server-id=all to nomad operator debug

* fix bug from changing metrics from string to []byte

* Add function to return MetricsSummary struct, metrics gotemplate support

* fix bug resolving 'server-id=all' when no servers are available

* add url to operator_debug tests

* removed test section which is used for future operator_debug.go changes

* separate metrics from operator, use only structs from go-metrics

* ensure parent directories are created as needed

* add suggested comments for text debug pprof

* move check down to where it is used

* add WaitForFiles helper function to wait for multiple files to exist

* compact metrics check

Co-authored-by: Drew Bailey <2614075+drewbailey@users.noreply.github.com>

* fix github's silly apply suggestion

Co-authored-by: Drew Bailey <2614075+drewbailey@users.noreply.github.com>
2020-10-14 15:16:10 -04:00
..
net.go core: add limits to unauthorized connections 2020-01-30 10:38:25 -08:00
responsewriter.go
server.go gracefully shutdown test server 2020-05-27 08:59:06 -04:00
slow.go
vault.go tests: swap lib/freeport for tweaked helper/freeport 2019-12-09 08:37:32 -06:00
wait.go Metrics gotemplate support, debug bundle features (#9067) 2020-10-14 15:16:10 -04:00
wait_test.go