Skip to content

Instantly share code, notes, and snippets.

@antonyc
Created January 18, 2022 11:49
Show Gist options
  • Save antonyc/ab2a043fb31ffcbf4a861dcbe2b6469f to your computer and use it in GitHub Desktop.
Save antonyc/ab2a043fb31ffcbf4a861dcbe2b6469f to your computer and use it in GitHub Desktop.
chapson quick paste
{"level":"DEBUG","ts":"2022-01-18T14:48:18.097+0300","message":"authorized user id=26(ftrugdvzjs@example.com)","middleware":"authorize"}
{"level":"INFO","ts":"2022-01-18T14:48:18.123+0300","message":"/api/v1/clusters/weathered-frog-511291","status":200,"method":"GET","path":"/api/v1/clusters/weathered-frog-511291","query":"","ip":"::1","user-agent":"python-httpx/0.18.2","latency":0.033842709,"time":"2022-01-18T11:48:18Z"}
operation create_timeline started
2022/01/18 14:48:18 CreateTenant: creating tenant b203c56c6e2563255743cee803653622
2022/01/18 14:48:18 CreateTenant: got error: pageserver responded with status 500
2022/01/18 14:48:18 ListTimelines: started for b203c56c6e2563255743cee803653622
2022/01/18 14:48:18 ListTimelines: done for b203c56c6e2563255743cee803653622. Got 1 timelines
2022/01/18 14:48:18 ListTimelines: started for b203c56c6e2563255743cee803653622
2022/01/18 14:48:18 ListTimelines: done for b203c56c6e2563255743cee803653622. Got 1 timelines
operation create_timeline succeeded
operation create_compute started
{"level":"DEBUG","ts":"2022-01-18T14:48:18.463+0300","message":"sql: query/select.users","middleware":"authorize","duration":0.00312,"db.host":"localhost:5432","db.database":"postgres","sql.action":"query","sql.statement":"SELECT * FROM users WHERE id = $1","sql.args":[{"Name":"","Ordinal":1,"Value":26}],"duration":0.00312,"db.host":"localhost:5432","db.database":"postgres","sql.action":"query","sql.statement":"SELECT * FROM users WHERE id = $1","sql.args":[{"Name":"","Ordinal":1,"Value":26}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment