diff --git a/monascaclient/v2_0/shell.py b/monascaclient/v2_0/shell.py index 1ca3680..1c860ae 100644 --- a/monascaclient/v2_0/shell.py +++ b/monascaclient/v2_0/shell.py @@ -41,8 +41,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.',