storj/cmd
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
..
certificates common: separate repository 2019-12-27 14:11:15 +02:00
gateway pkg/process: 2020-02-25 09:04:23 -08:00
identity common: separate repository 2019-12-27 14:11:15 +02:00
inspector private/prompt: remove dependency to go-prompt 2020-02-25 13:09:41 +02:00
internal cmd/uplink: Add ability to generate named accesses 2020-01-20 10:02:13 +01:00
linksharing common: separate repository 2019-12-27 14:11:15 +02:00
s3-benchmark cmd/gateway: use a separate repository 2020-02-24 10:03:03 +02:00
satellite satellite/api;repair: Have monkit pick the hostname as it's unique identifier 2020-02-19 17:11:09 +00:00
segment-reaper satellite/metainfo: remove support for boltdb based pointerDB 2020-01-23 13:54:00 +02:00
statreceiver cmd/statreceiver: Add instance tag to influx metric 2020-02-21 16:33:00 -03:00
storagenode private/prompt: remove dependency to go-prompt 2020-02-25 13:09:41 +02:00
storagenode-updater common: separate repository 2019-12-27 14:11:15 +02:00
storj-sim pkg/miniogw: gateway implementation with new libuplink 2020-02-21 16:20:38 +01:00
uplink mod: bump common and uplink version 2020-02-12 14:33:54 +00:00
versioncontrol common: separate repository 2019-12-27 14:11:15 +02:00