mgr/influx: specify the type of options

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2021-02-22 11:51:05 +08:00
parent 962ffe72ac
commit 969770bbe5

View File

@ -23,6 +23,7 @@ class Module(MgrModule):
Option(name='hostname',
default=None),
Option(name='port',
type='int',
default=8086),
Option(name='database',
default='ceph'),
@ -31,14 +32,17 @@ class Module(MgrModule):
Option(name='password',
default=None),
Option(name='interval',
type='secs',
default=30),
Option(name='ssl',
default='false'),
Option(name='verify_ssl',
default='true'),
Option(name='threads',
type='int',
default=5),
Option(name='batch_size',
type='int',
default=5000),
]