Conversion to milliseconds

Change-Id: I29746a31e149eaccee3ad48bb5d13baa156ea818
This commit is contained in:
Roland Hochmuth 2015-03-02 18:15:03 -07:00
parent 3df8be47dc
commit 051014db03
1 changed files with 2 additions and 2 deletions

View File

@ -41,8 +41,8 @@ notification_types = ['EMAIL', 'WEBHOOK', 'PAGERDUTY']
'that confuse the CLI parser.',
action='append')
@utils.arg('--time', metavar='<UNIX_TIMESTAMP>',
default=time.time(), type=int,
help='Metric timestamp. Default: current timestamp.')
default=time.time() * 1000, type=int,
help='Metric timestamp in milliseconds. Default: current timestamp.')
@utils.arg('--project-id', metavar='<CROSS_PROJECT_ID>',
help='The Project ID to create metric on behalf of. '
'Requires monitoring-delegate role in keystone.',