storj/scripts
Jessica Grebenschikov e19e3c1101 pkg/process:
Now that we are trying to identify the root cause of the satellite load limitations (i.e. currently the satellite has a max ability of 400 rps for uploads and we need this to be higher), we are using the golang diagnostic tools to collect insight into what the bottlenecks are.  We currently have a debug endpoint to gather some cpu and mem data, but it could be useful to have continuous profiling. GCP stackdriver has support for continuous profiling so lets set that up and see if it is helpful to gather more data.

This PR adds support for [GCP continuous profiler](https://cloud.google.com/profiler) which allows enabling continuous cpu/mem profiling and the stats are sent to stackdriver in google cloud console.

To enable the continuous profiling for a storj component, do the following:
- prereq: the workload must be running in GKE and have Stackdriver Profiling IAM role permissions
- provide the config flag `debug.profilename` in the config.yaml file for the workload (i.e. satellite api process, etc). The profilename should be the workload name, for example "satellite-api".
- once the above config flag is provided, the profiler will be initialized and profiling stats will automatically be sent to GCP project where the workload is running and viewable in the Stackdriver Profile page in the console

The current implementation assumes the workload is running in GKE, however if we find if useful we can add support to enable this from anywhere. But for simplicity, its configured this way assuming the main goal is to enable in production systems.

Change-Id: Ibf8ebe2df7bf06fdd4951ee6a1e48854dd36ad47
2020-02-25 09:04:23 -08:00
..
testdata pkg/process: 2020-02-25 09:04:23 -08:00
tests cmd/gateway: use a separate repository 2020-02-24 10:03:03 +02:00
waitlist Waitlist script (#573) 2018-11-06 18:43:20 +01:00
benchmark.sh Adding benchmarking script that reports response times. 2019-12-16 16:34:01 -05:00
cert-gating.sh Delete Bootstrap and Kademlia (#2974) 2019-10-04 16:48:41 -04:00
check-satellite-config-lock.sh Update Notification Text to new process (#2120) 2019-06-04 22:43:07 -04:00
deploy-storagenode.sh storagenode/buildscript: Overwrite existing docker manifest file (#2934) 2019-09-04 18:55:03 +02:00
deploy-watchtower.sh Script for deploying the Docker manifest for watchtower (#3015) 2019-09-12 17:38:48 +03:00
gerrit-cla.py gerrit: add cla 2019-06-19 18:28:53 +00:00
install-awscli.sh Travis with go1.11 and modules (#479) 2018-10-16 20:02:00 +03:00
pg-to-crdb.go scripts: Add script that filters postgres plaintext backup to cockroachdb compat. 2019-12-16 22:11:16 +00:00
postgres-dev.sh scripts: use postgres script with all tests (#3404) 2019-10-31 07:03:54 -07:00
release.sh private: rename internal to private (#3573) 2019-11-14 21:46:15 +02:00
tag-release.sh release/script: allow RC release tags 2020-01-07 10:43:03 +00:00
test-aio.sh server side macaroons (#1945) 2019-05-24 10:51:27 -06:00
test-aws-benchmark.sh aws s3 performance tests (#2060) 2019-05-28 11:46:58 -07:00
test-backwards.sh jenkins: use lower segment size for back comp test (#3097) 2019-11-06 05:53:38 -08:00
test-certificates.sh fix certificates auth export command (#3110) 2019-09-24 10:38:18 -06:00
test-network-stalls.go common: separate repository 2019-12-27 14:11:15 +02:00
test-sim-aws.sh jenkins: run storj-sim integration tests with cockraochdb (#3723) 2019-12-10 11:18:02 -08:00
test-sim-backwards-dev.sh scripts: use postgres script with all tests (#3404) 2019-10-31 07:03:54 -07:00
test-sim-backwards.sh pkg/miniogw: gateway implementation with new libuplink 2020-02-21 16:20:38 +01:00
test-sim-benchmark.sh aws s3 performance tests (#2060) 2019-05-28 11:46:58 -07:00
test-sim-dev.sh scripts: use postgres script with all tests (#3404) 2019-10-31 07:03:54 -07:00
test-sim.sh scripts: automated test for testing uplink share command (#3736) 2020-01-17 12:57:38 +02:00
test-uplink-share.sh scripts: automated test for testing uplink share command (#3736) 2020-01-17 12:57:38 +02:00
test-uplink.sh cmd/uplink: import imports 'access' into existing configuration 2020-01-14 13:18:48 +00:00
update-access.go pkg/miniogw: gateway implementation with new libuplink 2020-02-21 16:20:38 +01:00
update-satellite-config-lock.sh scripts: Fix warn message update sat config lock (#3029) 2019-09-12 18:10:22 +02:00
utils.sh cmd/certificates: auth export improvements & certificates test script (#2897) 2019-09-04 19:58:38 +02:00