Перейти к содержанию

[consul] section

Consul service configuration

token

Default valueNone
YAML Pathconsul.token
Key-Value Pathconsul/token
EnvironmentNOC_CONSUL_TOKEN

connect_timeout

Default value5s
YAML Pathconsul.connect_timeout
Key-Value Pathconsul/connect_timeout
EnvironmentNOC_CONSUL_CONNECT_TIMEOUT

request_timeout

Default value1h
YAML Pathconsul.request_timeout
Key-Value Pathconsul/request_timeout
EnvironmentNOC_CONSUL_REQUEST_TIMEOUT

near_retry_timeout

Default value1
YAML Pathconsul.near_retry_timeout
Key-Value Pathconsul/near_retry_timeout
EnvironmentNOC_CONSUL_NEAR_RETRY_TIMEOUT

host

Default valueconsul
YAML Pathconsul.host
Key-Value Pathconsul/host
EnvironmentNOC_CONSUL_HOST

port

Default value8500
YAML Pathconsul.port
Key-Value Pathconsul/port
EnvironmentNOC_CONSUL_PORT

check_interval

Default value10s
YAML Pathconsul.check_interval
Key-Value Pathconsul/check_interval
EnvironmentNOC_CONSUL_CHECK_INTERVAL

check_timeout

Default value1s
YAML Pathconsul.check_timeout
Key-Value Pathconsul/check_timeout
EnvironmentNOC_CONSUL_CHECK_TIMEOUT

release

Default value1M
YAML Pathconsul.release
Key-Value Pathconsul/release
EnvironmentNOC_CONSUL_RELEASE

session_ttl

Default value10s
YAML Pathconsul.session_ttl
Key-Value Pathconsul/session_ttl
EnvironmentNOC_CONSUL_SESSION_TTL

lock_delay

Default value20s
YAML Pathconsul.lock_delay
Key-Value Pathconsul/lock_delay
EnvironmentNOC_CONSUL_LOCK_DELAY

retry_timeout

Default value1s
YAML Pathconsul.retry_timeout
Key-Value Pathconsul/retry_timeout
EnvironmentNOC_CONSUL_RETRY_TIMEOUT

keepalive_attempts

Default value5
YAML Pathconsul.keepalive_attempts
Key-Value Pathconsul/keepalive_attempts
EnvironmentNOC_CONSUL_KEEPALIVE_ATTEMPTS

base

kv lookup base

Default valuenoc
YAML Pathconsul.base
Key-Value Pathconsul/base
EnvironmentNOC_CONSUL_BASE