Documentation ¶
Overview ¶
Package cloudprofiler provides primitives for Cloud Profiler integration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // Enabled indicates if the profiler should be enabled. Enabled bool `onGCE:"true"` // MutexProfiling indicates if mutex profiling should be enabled. MutexProfiling bool // AllocForceGC indicates if GC should be forced before allocation profiling snapshots are taken. AllocForceGC bool `default:"true"` }
Config configures the use of Google Cloud Profiler.
Click to show internal directories.
Click to hide internal directories.