consul/vendor/github.com
Jack Pearkes 8c684db488 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 Add support for compression in http api 2018-04-03 22:33:13 +02:00
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 Bump github.com/armon/go-metrics to allow having prometheus support 2018-04-05 18:21:32 +02:00
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 Added dependency github.com/prometheus/client_golang/prometheus/promhttp 2018-04-06 08:54:37 +02:00
bgentry/speakeasy
boltdb/bolt
circonus-labs
coredns/coredns Add github.com/coredns/coredns/plugin/pkg/dnsutil files 2018-05-21 22:25:16 +02:00
davecgh/go-spew agent/consul/fsm: begin using testify/assert 2018-03-06 09:48:15 -08:00
denisenkom/go-mssqldb Vendor the vault api 2018-06-25 12:26:10 -07:00
denverdino/aliyungo vendor: pull in latest version of go-discover 2018-05-10 15:40:16 -07:00
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 vendor: pull in latest version of go-discover 2018-05-10 15:40:16 -07:00
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 Added dependency github.com/prometheus/client_golang/prometheus/promhttp 2018-04-06 08:54:37 +02:00
miekg/dns Bump DNS lib to 1.0.7 with 14bits Len() fix 2018-05-16 10:52:51 +02:00
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 vendor: pull in latest version of go-discover 2018-05-10 15:40:16 -07:00
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 agent/consul/fsm: begin using testify/assert 2018-03-06 09:48:15 -08:00
posener/complete vendor: update complete version to v1.1 2017-11-08 06:45:56 +02:00
prometheus Added dependency github.com/prometheus/client_golang/prometheus/promhttp 2018-04-06 08:54:37 +02:00
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 vendor: pull in latest version of go-discover 2018-05-10 15:40:16 -07:00
spf13/pflag vendor k8s client lib 2018-09-05 14:59:02 -07:00
stretchr Add missing vendor dep github.com/stretchr/objx 2018-06-14 09:42:13 -07:00
vmware Vendoring update for go-discover. (#4412) 2018-07-25 16:21:04 -07:00