Closed adroffner closed 9 years ago
import calendar from datetime import datetime dt = datetime.utcnow() r.send('Test', 23, calendar.timegm(dt.timetuple()))
I'd like the raw.send(value, unix_time) method to also accept & convert datetime objects. The code above does this externally.
Is that supported at the statsd end though? i.e. does statsd understand unix timestamps?
I'd like the raw.send(value, unix_time) method to also accept & convert datetime objects. The code above does this externally.