Merge "Use long as possible timestamp value"
This commit is contained in:
commit
f3ca3b2005
|
@ -161,7 +161,7 @@ def validate_value(value):
|
|||
|
||||
|
||||
def validate_timestamp(timestamp):
|
||||
if not isinstance(timestamp, (int, float)):
|
||||
if not isinstance(timestamp, (int, long, float)):
|
||||
msg = "invalid timestamp type: {0} is not a number type for " \
|
||||
"metric".format(timestamp)
|
||||
raise InvalidTimeStamp(msg)
|
||||
|
|
Loading…
Reference in New Issue