diff --git a/monascaclient/v2_0/shell.py b/monascaclient/v2_0/shell.py index 922c149..89a5078 100644 --- a/monascaclient/v2_0/shell.py +++ b/monascaclient/v2_0/shell.py @@ -48,8 +48,8 @@ notification_types = ['EMAIL', 'WEBHOOK', 'PAGERDUTY'] 'that confuse the CLI parser.', action='append') @utils.arg('--time', metavar='', - 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='', help='The Project ID to create metric on behalf of. ' 'Requires monitoring-delegate role in keystone.',