Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultEnableStartupProfiling = false DefaultStartupProfilingSec = 300 DefaultStartupProfilingMode = "mem" DefaultProfilingOutputDir = "/tmp" DefaultEnableGoPs = false DefaultGoPsAddr = ":" DefaultEnableHTTPProf = false DefaultEnableWebProf = false DefaultEnableWebPrettyTrace = false DefaultEnableStatsViz = false )
View Source
const DaemonTypeProfd boot.DaemonType = "profd"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cfg ¶
type Cfg struct {
EnableStartupProfiling bool `` /* 131-byte string literal not displayed */
StartupProfilingSec int `` /* 206-byte string literal not displayed */
StartupProfilingMode string `` /* 191-byte string literal not displayed */
ProfOutputDir string `` /* 141-byte string literal not displayed */
EnableHTTPProf bool `yaml:"enableHTTPProf" env:"ENABLE_HTTP_PROF" long:"enable-http-prof" description:"enable prof over http, depends on httpd"`
EnableWebProf bool `yaml:"enableWebProf" env:"ENABLE_WEB_PROF" long:"enable-web-prof" description:"enable prof over web, depends on httpd"`
EnableWebPrettyTrace bool `` /* 149-byte string literal not displayed */
WebAuthUser string `yaml:"webAuthUser" env:"WEB_AUTH_USER"`
WebAuthPwd string `yaml:"webAuthPwd" env:"WEB_AUTH_PWD"`
EnableGoPs bool `yaml:"enableGoPs" env:"ENABLE_GOPS" long:"enable-gops" =description:"enable gops agent"`
GoPsAddr string `yaml:"goPsAddr" env:"GOPS_ADDR" long:"gops-addr" =description:"gops agent listen addr"`
EnableStatsViz bool `yaml:"enableStatsViz" env:"ENABLE_STATS_VIZ" long:"enable-stats-viz" description:"enable statsviz, need httpd"`
}
Click to show internal directories.
Click to hide internal directories.