Global service configuration¶
Global settings applicable to all services
host¶
Hostname.
Note
This parameter is read-only and cannot be modified
loglevel¶
- Default value:
20 - YAML Path:
loglevel - Key-value Path:
loglevel - Environment:
NOC_LOGLEVEL
brand¶
- Default value:
NOC - YAML Path:
brand - Key-value Path:
brand - Environment:
NOC_BRAND
global_n_instances¶
- Default value:
1 - YAML Path:
global_n_instances - Key-value Path:
global_n_instances - Environment:
NOC_GLOBAL_N_INSTANCES
installation_name¶
- Default value:
Unconfigured installation - YAML Path:
installation_name - Key-value Path:
installation_name - Environment:
NOC_INSTALLATION_NAME
installation_id¶
- YAML Path:
installation_id - Key-value Path:
installation_id - Environment:
NOC_INSTALLATION_ID
instance¶
- YAML Path:
instance - Key-value Path:
instance - Environment:
NOC_INSTANCE
language¶
- Default value:
en - YAML Path:
language - Key-value Path:
language - Environment:
NOC_LANGUAGE
language_code¶
- Default value:
en - YAML Path:
language_code - Key-value Path:
language_code - Environment:
NOC_LANGUAGE_CODE
listen¶
API listen address in form <address>:<port>, where <address> is one of:
auto- use hostname to detect address.- interface name, like
eth0 -
IP address.
-
Default value:
auto:0 - YAML Path:
listen - Key-value Path:
listen - Environment:
NOC_LISTEN
log_format¶
- Default value:
%(asctime)s [%(name)s] %(message)s - YAML Path:
log_format - Key-value Path:
log_format - Environment:
NOC_LOG_FORMAT
thread_stack_size¶
- YAML Path:
thread_stack_size - Key-value Path:
thread_stack_size - Environment:
NOC_THREAD_STACK_SIZE
version_format¶
- Default value:
%(version)s+%(branch)s.%(number)s.%(changeset)s - YAML Path:
version_format - Key-value Path:
version_format - Environment:
NOC_VERSION_FORMAT
pool¶
- YAML Path:
pool - Key-value Path:
pool - Environment:
NOC_POOL
secret_key¶
- Default value:
12345 - YAML Path:
secret_key - Key-value Path:
secret_key - Environment:
NOC_SECRET_KEY
timezone¶
- Default value:
Europe/Moscow - YAML Path:
timezone - Key-value Path:
timezone - Environment:
NOC_TIMEZONE