open-nomad/api
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
..
contexts csi: CLI for volume status, registration/deregistration and plugin status (#7193) 2020-03-23 13:58:30 -04:00
internal/testutil tests: allow API test server to respect NOMAD_TEST_LOG_LEVEL (#8760) 2020-08-27 14:36:17 -04:00
acl.go Self token lookup 2017-10-13 13:12:20 -07:00
acl_test.go Self token lookup 2017-10-13 13:12:20 -07:00
agent.go api: nomad debug new /agent/host (#8325) 2020-07-02 09:51:25 -04:00
agent_test.go fix tests, update changelog 2020-01-29 13:55:39 -05:00
allocations.go api: target servers for allocation requests (#8897) 2020-09-16 09:34:17 -04:00
allocations_test.go api: avoid depending on helper internal package 2019-11-12 11:02:33 -05:00
api.go Add API support for cancelation contexts passed via QueryOptions and WriteOptions (#8836) 2020-09-09 16:22:07 -04:00
api_test.go Add API support for cancelation contexts passed via QueryOptions and WriteOptions (#8836) 2020-09-09 16:22:07 -04:00
compose_test.go test: fix up testing around host networks 2020-06-19 13:53:31 -04:00
constraint.go core: add semver constraint 2019-11-19 08:40:19 -08:00
constraint_test.go Parallel 2017-07-21 16:33:04 -07:00
csi.go csi: nomad volume detach command (#8584) 2020-08-11 10:18:54 -04:00
csi_test.go csi: add -force flag to volume deregister (#8295) 2020-07-01 12:17:51 -04:00
deployments.go multiregion CLI: nomad deployment unblock 2020-06-17 11:03:44 -04:00
evaluations.go add create and modify timestamps to evaluations (#5881) 2019-08-07 09:50:35 -07:00
evaluations_test.go non-Existent -> nonexistent 2018-03-12 11:59:33 -07:00
event.go filter on additional filter keys, remove switch statement duplication 2020-10-14 14:14:33 -04:00
event_test.go filter on additional filter keys, remove switch statement duplication 2020-10-14 14:14:33 -04:00
fs.go cli: recover from client ACL lookup failures 2019-10-04 11:23:59 -04:00
fs_test.go Divest api/ package of deps elsewhere in the nomad repo. (#5488) 2019-03-29 14:47:40 -04:00
go.mod Metrics gotemplate support, debug bundle features (#9067) 2020-10-14 15:16:10 -04:00
go.sum Metrics gotemplate support, debug bundle features (#9067) 2020-10-14 15:16:10 -04:00
ioutil.go Add api/ package function to save snapshot 2020-05-21 20:04:38 -04:00
ioutil_test.go Add api/ package function to save snapshot 2020-05-21 20:04:38 -04:00
jobs.go MRD: move 'job stop -global' handling into RPC (#8776) 2020-08-28 14:28:13 -04:00
jobs_test.go updated api tests wrt backwards compat on null chars in IDs 2020-10-05 18:01:50 +00:00
namespace.go sync 2017-10-13 14:36:02 -07:00
namespace_test.go Fix pro tags 2020-07-17 11:02:00 -04:00
nodes.go csi: plugins track jobs in addition to allocations, and use job information to set expected counts (#8699) 2020-08-27 17:20:00 -04:00
nodes_test.go api: add node purge SDK function. 2020-08-14 08:40:03 +01:00
operator.go Metrics gotemplate support, debug bundle features (#9067) 2020-10-14 15:16:10 -04:00
operator_autopilot.go implement MinQuorum 2020-02-16 16:04:59 -06:00
operator_metrics.go Metrics gotemplate support, debug bundle features (#9067) 2020-10-14 15:16:10 -04:00
operator_metrics_test.go Metrics gotemplate support, debug bundle features (#9067) 2020-10-14 15:16:10 -04:00
operator_test.go Divest api/ package of deps elsewhere in the nomad repo. (#5488) 2019-03-29 14:47:40 -04:00
quota.go sync 2017-10-13 14:36:02 -07:00
quota_test.go sync 2017-10-13 14:36:02 -07:00
raw.go Making the client use tls if the node from which migration has to be made has enabled tls 2016-10-31 10:20:04 -07:00
regions.go fix a copy/paste error on api.Regions() comment 2017-01-17 22:48:01 -08:00
regions_test.go Divest api/ package of deps elsewhere in the nomad repo. (#5488) 2019-03-29 14:47:40 -04:00
resources.go jobspec: lower min cpu resources from 10->1 2020-09-30 12:15:13 -07:00
scaling.go add scaling policy type 2020-09-29 17:57:46 -04:00
scaling_test.go add scaling policy type 2020-09-29 17:57:46 -04:00
search.go Search respects QueryOptions and returns QueryMeta 2017-08-27 22:17:51 -07:00
search_test.go Add new reschedule options to API layer and unit tests 2018-03-14 16:10:32 -05:00
sentinel.go sync 2017-09-19 10:08:23 -05:00
sentinel_test.go Fix pro tags 2020-07-17 11:02:00 -04:00
services.go consul/connect: remove envoy dns option from gateway proxy config 2020-08-24 09:11:55 -05:00
services_test.go consul/connect: remove envoy dns option from gateway proxy config 2020-08-24 09:11:55 -05:00
status.go display server leaders per region 2016-03-17 16:04:09 -07:00
status_test.go Parallel 2017-07-21 16:33:04 -07:00
system.go Add missing ReconcileSummaries API method 2017-08-24 11:55:10 +02:00
system_test.go Parallel 2017-07-21 16:33:04 -07:00
tasks.go Merge pull request #8390 from hashicorp/lifecycle-poststart-hook 2020-08-31 13:53:24 -07:00
tasks_test.go fixed api tests for changes 2020-07-04 19:23:58 +00:00
util_test.go fixed api tests for changes 2020-07-04 19:23:58 +00:00
utils.go more testing for ScalingPolicy, mainly around parsing and canonicalization for Min/Max 2020-03-24 19:43:50 +00:00
utils_test.go api: move formatFloat function 2019-01-18 15:31:31 -05:00