open-consul/vendor/github.com
Jack Pearkes 197d62c6ca New command: consul debug (#4754)
* agent/debug: add package for debugging, host info

* api: add v1/agent/host endpoint

* agent: add v1/agent/host endpoint

* command/debug: implementation of static capture

* command/debug: tests and only configured targets

* agent/debug: add basic test for host metrics

* command/debug: add methods for dynamic data capture

* api: add debug/pprof endpoints

* command/debug: add pprof

* command/debug: timing, wg, logs to disk

* vendor: add gopsutil/disk

* command/debug: add a usage section

* website: add docs for consul debug

* agent/host: require operator:read

* api/host: improve docs and no retry timing

* command/debug: fail on extra arguments

* command/debug: fixup file permissions to 0644

* command/debug: remove server flags

* command/debug: improve clarity of usage section

* api/debug: add Trace for profiling, fix profile

* command/debug: capture profile and trace at the same time

* command/debug: add index document

* command/debug: use "clusters" in place of members

* command/debug: remove address in output

* command/debug: improve comment on metrics sleep

* command/debug: clarify usage

* agent: always register pprof handlers and protect

This will allow us to avoid a restart of a target agent
for profiling by always registering the pprof handlers.

Given this is a potentially sensitive path, it is protected
with an operator:read ACL and enable debug being
set to true on the target agent. enable_debug still requires
a restart.

If ACLs are disabled, enable_debug is sufficient.

* command/debug: use trace.out instead of .prof

More in line with golang docs.

* agent: fix comment wording

* agent: wrap table driven tests in t.run()
2018-10-19 08:41:03 -07:00
..
Azure vendor k8s client lib 2018-09-05 14:59:02 -07:00
DataDog/datadog-go
Jeffail/gabs Vendor the vault api 2018-06-25 12:26:10 -07:00
Microsoft/go-winio
NYTimes/gziphandler
SAP/go-hdb Vendor the vault api 2018-06-25 12:26:10 -07:00
SermoDigital/jose Vendor the vault api 2018-06-25 12:26:10 -07:00
Sirupsen/logrus Vendoring update for go-discover. (#4412) 2018-07-25 16:21:04 -07:00
StackExchange/wmi
armon
asaskevich/govalidator Vendor the vault api 2018-06-25 12:26:10 -07:00
aws/aws-sdk-go Update go-discover vendor 2018-09-05 13:31:10 -07:00
beorn7/perks
bgentry/speakeasy
boltdb/bolt
circonus-labs
coredns/coredns
davecgh/go-spew
denisenkom/go-mssqldb Vendor the vault api 2018-06-25 12:26:10 -07:00
denverdino/aliyungo
dgrijalva/jwt-go vendor k8s client lib 2018-09-05 14:59:02 -07:00
digitalocean/godo Update go-discover vendor 2018-09-05 13:31:10 -07:00
docker/go-connections/sockets
elazarl/go-bindata-assetfs
envoyproxy/go-control-plane xDS Server Implementation (#4731) 2018-10-10 16:55:34 +01:00
fatih/structs Vendor the vault api 2018-06-25 12:26:10 -07:00
ghodss/yaml vendor k8s client lib 2018-09-05 14:59:02 -07:00
go-ole/go-ole
go-sql-driver/mysql Vendor the vault api 2018-06-25 12:26:10 -07:00
gocql/gocql Vendor the vault api 2018-06-25 12:26:10 -07:00
gogo xDS Server Implementation (#4731) 2018-10-10 16:55:34 +01:00
golang xDS Server Implementation (#4731) 2018-10-10 16:55:34 +01:00
google vendor k8s client lib 2018-09-05 14:59:02 -07:00
googleapis/gnostic vendor k8s client lib 2018-09-05 14:59:02 -07:00
gophercloud/gophercloud vendor k8s client lib 2018-09-05 14:59:02 -07:00
gregjones/httpcache vendor k8s client lib 2018-09-05 14:59:02 -07:00
hailocab/go-hostpool Vendor the vault api 2018-06-25 12:26:10 -07:00
hashicorp Update Raft Vendoring (#4539) 2018-09-06 15:07:42 -04:00
imdario/mergo vendor k8s client lib 2018-09-05 14:59:02 -07:00
jefferai/jsonx Vendor the vault api 2018-06-25 12:26:10 -07:00
joyent/triton-go
json-iterator/go vendor k8s client lib 2018-09-05 14:59:02 -07:00
keybase/go-crypto Vendor the vault api 2018-06-25 12:26:10 -07:00
kr/text replace old fork of text package (#4501) 2018-08-14 12:23:18 -07:00
lib/pq Vendor the vault api 2018-06-25 12:26:10 -07:00
lyft/protoc-gen-validate xDS Server Implementation (#4731) 2018-10-10 16:55:34 +01:00
mattn/go-isatty
matttproud/golang_protobuf_extensions
miekg/dns
mitchellh vendor: update mapstructure to v1.1.0 2018-09-30 19:15:40 -07:00
modern-go vendor k8s client lib 2018-09-05 14:59:02 -07:00
nicolai86/scaleway-sdk
oklog/run Vendor the vault api 2018-06-25 12:26:10 -07:00
packethost/packngo Vendoring update for go-discover. (#4412) 2018-07-25 16:21:04 -07:00
pascaldekloe/goe/verify
patrickmn/go-cache Vendor the vault api 2018-06-25 12:26:10 -07:00
peterbourgon/diskv vendor k8s client lib 2018-09-05 14:59:02 -07:00
pkg/errors
pmezard/go-difflib
posener/complete
prometheus
ryanuber Vendor the vault api 2018-06-25 12:26:10 -07:00
sean-/seed
shirou New command: consul debug (#4754) 2018-10-19 08:41:03 -07:00
softlayer/softlayer-go
spf13/pflag vendor k8s client lib 2018-09-05 14:59:02 -07:00
stretchr
vmware Vendoring update for go-discover. (#4412) 2018-07-25 16:21:04 -07:00