Skip to content

Commit c8c7975

Browse files
committed
adding timestamp of event being sent
1 parent 5c093d0 commit c8c7975

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tracereq/transport.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def __init__(self, token, dest):
4040

4141
def send(self, trace_doc):
4242
try:
43+
trace_doc['timestamp'] = datetime.utcnow()
4344
self.session.request(
4445
'POST',
4546
self.dest,

0 commit comments

Comments
 (0)