Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GlobalConfig = flag.String("global", "./global.json", "global config.") PluginConfig = flag.String("plugin", "./plugin.json", "plugin config.") FlusherConfig = flag.String("flusher", "./default_flusher.json", "the default flusher configuration is used not only in the plugins without flusher but also to transfer the self telemetry data.") ForceSelfCollect = flag.Bool("force-statics", false, "force collect self telemetry data before closing.") AutoProfile = flag.Bool("prof-auto", true, "auto dump prof file when prof-flag is open.") HTTPProfFlag = flag.Bool("prof-flag", false, "http pprof flag.") Cpuprofile = flag.String("cpu-profile", "cpu.prof", "write cpu profile to file.") Memprofile = flag.String("mem-profile", "mem.prof", "write mem profile to file.") HTTPAddr = flag.String("server", ":18689", "http server address.") Doc = flag.Bool("doc", false, "generate plugin docs") DocPath = flag.String("docpath", "./docs/en/plugins", "generate plugin docs") HTTPLoadFlag = flag.Bool("http-load", false, "export http endpoint for load plugin config.") )
flags used to control ilogtail.
Functions ¶
func GetFlusherConfiguration ¶
GetFlusherConfiguration returns the flusher category and options.
func LoadConfig ¶
LoadConfig read the plugin content.
func OverrideByEnv ¶
func OverrideByEnv()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.