issue_comments: 491534162
This data as json
html_url | issue_url | id | node_id | user | created_at | updated_at | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/simonw/datasette/issues/435#issuecomment-491534162 | https://api.github.com/repos/simonw/datasette/issues/435 | 491534162 | MDEyOklzc3VlQ29tbWVudDQ5MTUzNDE2Mg== | 9599 | 2019-05-11T18:33:02Z | 2019-05-11T18:36:33Z | OWNER | I don't like the shape of the JSON: ``` "_traces": { "num_traces": 20, "traces": { "duration": 0.015190839767456055, "queries": [ [ "sql", [ "fixtures", "select 1 from sqlite_master where type='table' and name=?", [ "facetable.json" ] ], 1557599406.7231224, 1557599406.723611, 0.4887580871582031 ], [ ``` I want this instead: ``` "_traces": { "num_traces": 20, "sum_duration_ms": 0.015190839767456055, "traces": [ { "type": "sql", "database": "fixtures", "sql": "select 1 from sqlite_master where type='table' and name=?", "args": ["facetable.json"], "start": 1557599406.7231224, "end": 1557599406.723611, "duration_ms": 0.4887580871582031 } | {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | 435531034 |