Change statsd_host config type
Change oslo config to support valid IP addresses and valid host domain names for statsd host. Change-Id: I4f9a136f2183be8adfd1456e0e65da17e461cf56 Story: 2002596 Task: 22207
This commit is contained in:
parent
1562cdb243
commit
4229bc901c
|
@ -22,10 +22,10 @@ monitoring_opts = [
|
|||
cfg.BoolOpt('enable',
|
||||
default=True,
|
||||
help='Determine if self monitoring is enabled'),
|
||||
cfg.IPOpt('statsd_host',
|
||||
default=_DEFAULT_HOST,
|
||||
help=('IP address of statsd server, default to %s'
|
||||
% _DEFAULT_HOST)),
|
||||
cfg.HostAddressOpt('statsd_host',
|
||||
default=_DEFAULT_HOST,
|
||||
help=('IP address or host domain name of statsd server, default to %s'
|
||||
% _DEFAULT_HOST)),
|
||||
cfg.PortOpt('statsd_port',
|
||||
default=_DEFAULT_PORT,
|
||||
help='Port of statsd server, default to %d' % _DEFAULT_PORT),
|
||||
|
|
Loading…
Reference in New Issue