bright-afternoon-44693
12/08/2022, 5:01 PM'2022-11-19 15:20:30' then looking at the received data in amplitude:
"event_time": "2022-12-08 16:27:36.495000", (today)bright-afternoon-44693
12/08/2022, 8:46 PMrudder_analytics.track(
...: "123456",
...: event_name="TEST",
...: properties={"foo": "bar"},
...: timestamp=datetime.now() - timedelta(days=40),
...: )
the http request being made:
In [28]: [2022-12-08 20:43:04,152] request: DEBUG - making request: {"batch": [{"integrations": {}, "anonymousId": null, "properties": {"foo": "bar"}, "timestamp": "2022-10-29T20:43:04.004018+00:00", "context": {"library": {"name": "rudder-analytics-python", "version": "1.0.5"}}, "userId": "123456", "type": "track", "event": "TEST", "messageId": "2a05c422-9648-487d-af8d-b66bde0f1fb6"}], "sentAt": "2022-12-08T20:43:04.152412+00:00"}
[2022-12-08 20:43:04,156] connectionpool: DEBUG - Resetting dropped connection: dataplane
[2022-12-08 20:43:04,462] connectionpool: DEBUG - https://dataplane.com:443 "POST /v1/batch HTTP/1.1" 200 2bright-afternoon-44693
12/08/2022, 8:47 PMbright-afternoon-44693
12/08/2022, 8:49 PM