Expand description
Initialization func initialize the Sentinel’s runtime environment, including:
- override global config, from manually config or yaml file or env variable
- initialize global logger
- initiate core component async task, including: metric log, system statistic…
Functions§
- init_
default init_default
initializes Sentinel using the configuration from system environment and the default value.- init_
with_ config init_with_config
initializes Sentinel using given config.- init_
with_ config_ file - Init loads Sentinel general configuration from the given YAML file and initializes Sentinel.