Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
gvelez17 committed May 22, 2024
1 parent 775f2f7 commit 4c37e86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions logs-to-tsdb/kinesis-lambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ def unix_to_datetime(unix_timestamp):
return datetime.fromtimestamp(unix_timestamp, tz=timezone.utc)

def handler(event, context):
pprint(event)
warn(pformat(event))
# Connect to the TimescaleDB
print("Connecting to db host " + DB_HOST)
conn = psycopg2.connect(
Expand Down

0 comments on commit 4c37e86

Please sign in to comment.