Merge "Conversion to milliseconds"
This commit is contained in:
commit
9d70a4fdb6
@ -48,8 +48,8 @@ notification_types = ['EMAIL', 'WEBHOOK', 'PAGERDUTY']
|
|||||||
'that confuse the CLI parser.',
|
'that confuse the CLI parser.',
|
||||||
action='append')
|
action='append')
|
||||||
@utils.arg('--time', metavar='<UNIX_TIMESTAMP>',
|
@utils.arg('--time', metavar='<UNIX_TIMESTAMP>',
|
||||||
default=time.time(), type=int,
|
default=time.time() * 1000, type=int,
|
||||||
help='Metric timestamp. Default: current timestamp.')
|
help='Metric timestamp in milliseconds. Default: current timestamp.')
|
||||||
@utils.arg('--project-id', metavar='<CROSS_PROJECT_ID>',
|
@utils.arg('--project-id', metavar='<CROSS_PROJECT_ID>',
|
||||||
help='The Project ID to create metric on behalf of. '
|
help='The Project ID to create metric on behalf of. '
|
||||||
'Requires monitoring-delegate role in keystone.',
|
'Requires monitoring-delegate role in keystone.',
|
||||||
|
Loading…
Reference in New Issue
Block a user