Skip to content

Instantly share code, notes, and snippets.

@barbalex
Created December 17, 2019 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save barbalex/989d0e83260737ac623208a569e18319 to your computer and use it in GitHub Desktop.
Save barbalex/989d0e83260737ac623208a569e18319 to your computer and use it in GitHub Desktop.
hasura log when updating
{"type":"startup","timestamp":"2019-12-17T13:53:29.123+0000","level":"info","detail":{"kind":"server_configuration","info":{"live_query_options":{"batch_size":100,"refetch_delay":1},"transaction_isolation":"ISOLATION LEVEL READ COMMITTED","plan_cache_options":{"plan_cache_size":null},"enabled_log_types":["http-log","websocket-log","startup","webhook-log"],"server_host":"HostAny","enable_allowlist":false,"log_level":"info","auth_hook_mode":null,"use_prepared_statements":true,"unauth_role":null,"stringify_numeric_types":false,"enabled_apis":["metadata","graphql","config","pgdump"],"enable_telemetry":true,"enable_console":true,"auth_hook":null,"jwt_secret":{"audience":null,"claims_format":null,"claims_namespace":null,"key":"<JWK REDACTED>","type":"RS512","issuer":null},"cors_config":{"allowed_origins":"*","disabled":false,"ws_read_cookie":null},"console_assets_dir":null,"admin_secret_set":true,"port":8080}}}
{"type":"startup","timestamp":"2019-12-17T13:53:29.123+0000","level":"info","detail":{"kind":"postgres_connection","info":{"retries":1,"database_url":"postgres://doadmin:...@db-vermehrung-do-user-293456-0.db.ondigitalocean.com:25060/defaultdb?sslmode=require"}}}
{"type":"startup","timestamp":"2019-12-17T13:53:51.337+0000","level":"info","detail":{"kind":"db_migrate","info":"Successfully migrated from catalog version 22 to version 29."}}
{"type":"startup","timestamp":"2019-12-17T13:53:51.337+0000","level":"info","detail":{"kind":"schema-sync","info":{"thread_id":"ThreadId 46","instance_id":"71ddfd55-12d5-417a-ab3c-4b9209ab0b4b","message":"listener thread started"}}}
{"type":"startup","timestamp":"2019-12-17T13:53:51.337+0000","level":"info","detail":{"kind":"schema-sync","info":{"thread_id":"ThreadId 47","instance_id":"71ddfd55-12d5-417a-ab3c-4b9209ab0b4b","message":"processor thread started"}}}
{"type":"startup","timestamp":"2019-12-17T13:53:51.337+0000","level":"info","detail":{"kind":"event_triggers","info":"preparing data"}}
{"type":"startup","timestamp":"2019-12-17T13:53:51.337+0000","level":"info","detail":{"kind":"event_triggers","info":"starting workers"}}
{"type":"startup","timestamp":"2019-12-17T13:53:51.337+0000","level":"info","detail":{"kind":"telemetry","info":"Help us improve Hasura! The graphql-engine server collects anonymized usage stats which allows us to keep improving Hasura at warp speed. To read more or opt-out, visit https://docs.hasura.io/1.0/graphql/manual/guides/telemetry.html"}}
{"type":"startup","timestamp":"2019-12-17T13:53:51.337+0000","level":"info","detail":{"kind":"server","info":{"time_taken":23.044833698,"message":"starting API server"}}}
{"type":"http-log","timestamp":"2019-12-17T13:54:05.930+0000","level":"info","detail":{"operation":{"query_execution_time":7.598498e-3,"user_vars":{"x-hasura-role":"admin"},"request_id":"5618eb02-bc82-4c45-8a5b-8dbb688d4028","response_size":47},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/query","ip":"77.57.29.8","method":"POST","content_encoding":"gzip"}}}
{"type":"http-log","timestamp":"2019-12-17T13:54:05.930+0000","level":"info","detail":{"operation":{"query_execution_time":8.810573e-3,"user_vars":{"x-hasura-role":"admin"},"request_id":"6037299b-f6e3-4f50-b10b-4ba99746556d","response_size":48},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/query","ip":"77.57.29.8","method":"POST","content_encoding":"gzip"}}}
{"type":"http-log","timestamp":"2019-12-17T13:54:05.930+0000","level":"info","detail":{"operation":{"query_execution_time":0.406847256,"user_vars":{"x-hasura-role":"admin"},"request_id":"f7043078-b2ba-427f-b171-089c3718c639","response_size":100303},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/query","ip":"77.57.29.8","method":"POST","content_encoding":"gzip"}}}
{"type":"http-log","timestamp":"2019-12-17T13:54:05.930+0000","level":"info","detail":{"operation":{"query_execution_time":0.690945966,"user_vars":{"x-hasura-role":"admin"},"request_id":"e4eecfbb-79d6-462b-8b08-f18129062b58","response_size":33160},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/query","ip":"77.57.29.8","method":"POST","content_encoding":"gzip"}}}
{"type":"http-log","timestamp":"2019-12-17T13:54:05.930+0000","level":"info","detail":{"operation":{"query_execution_time":0.705293295,"user_vars":{"x-hasura-role":"admin"},"request_id":"1e7f6c6d-2b38-4d80-9ee0-170e720b9709","response_size":33160},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/query","ip":"77.57.29.8","method":"POST","content_encoding":"gzip"}}}
{"type":"http-log","timestamp":"2019-12-17T13:54:05.930+0000","level":"info","detail":{"operation":{"query_execution_time":6.65189e-4,"user_vars":{"x-hasura-role":"admin"},"request_id":"2a4612c6-87f7-492c-9b2a-465c4a57e095","response_size":60},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/query","ip":"77.57.29.8","method":"POST","content_encoding":"gzip"}}}
{"type":"http-log","timestamp":"2019-12-17T13:54:05.930+0000","level":"info","detail":{"operation":{"query_execution_time":2.02134e-4,"user_vars":{"x-hasura-role":"admin"},"request_id":"3058d1ad-5527-4d14-9acf-10bc94fd873d","response_size":60},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/query","ip":"77.57.29.8","method":"POST","content_encoding":"gzip"}}}
{"type":"http-log","timestamp":"2019-12-17T13:54:05.930+0000","level":"info","detail":{"operation":{"query_execution_time":3.8219e-5,"user_vars":{"x-hasura-role":"admin"},"request_id":"819df671-76d5-4945-b70c-eeabc9f2c324","response_size":149},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1alpha1/config","ip":"77.57.29.8","method":"GET","content_encoding":"gzip"}}}
{"type":"http-log","timestamp":"2019-12-17T13:54:05.930+0000","level":"info","detail":{"operation":{"query_execution_time":1.72808e-4,"user_vars":{"x-hasura-role":"admin"},"request_id":"620e3c78-3544-42e0-84d9-301c1c40b33f","response_size":60},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/query","ip":"77.57.29.8","method":"POST","content_encoding":"gzip"}}}
{"type":"http-log","timestamp":"2019-12-17T13:54:05.930+0000","level":"info","detail":{"operation":{"query_execution_time":4.96863e-3,"user_vars":{"x-hasura-role":"admin"},"request_id":"110cf3ab-d54e-404b-b0f8-6bd6355ee794","response_size":123},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/query","ip":"77.57.29.8","method":"POST","content_encoding":"gzip"}}}
{"type":"http-log","timestamp":"2019-12-17T13:54:11.035+0000","level":"info","detail":{"operation":{"query_execution_time":8.643044e-3,"user_vars":{"x-hasura-role":"manager","x-hasura-allowed-roles":"manager","x-hasura-default-role":"manager","x-hasura-user-id":"1"},"request_id":"9ddb2f0a-7e95-46d9-a748-a26c908768d8","response_size":382},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/graphql","ip":"77.57.29.8","method":"POST","content_encoding":"gzip"}}}
{"type":"http-log","timestamp":"2019-12-17T13:54:11.035+0000","level":"info","detail":{"operation":{"query_execution_time":5.110238e-2,"user_vars":{"x-hasura-role":"manager","x-hasura-allowed-roles":"manager","x-hasura-default-role":"manager","x-hasura-user-id":"1"},"request_id":"76d07580-046e-4275-a60f-d60455dca3d4","response_size":408},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/graphql","ip":"77.57.29.8","method":"POST","content_encoding":"gzip"}}}
{"type":"http-log","timestamp":"2019-12-17T13:54:11.035+0000","level":"info","detail":{"operation":{"query_execution_time":1.8063455e-2,"user_vars":{"x-hasura-role":"manager","x-hasura-allowed-roles":"manager","x-hasura-default-role":"manager","x-hasura-user-id":"1"},"request_id":"b073a450-72aa-4413-9de3-d1298b9d4882","response_size":166},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/graphql","ip":"77.57.29.8","method":"POST","content_encoding":"gzip"}}}
{"type":"http-log","timestamp":"2019-12-17T13:54:11.035+0000","level":"info","detail":{"operation":{"query_execution_time":1.2107586e-2,"user_vars":{"x-hasura-role":"manager","x-hasura-allowed-roles":"manager","x-hasura-default-role":"manager","x-hasura-user-id":"1"},"request_id":"07621310-1a70-459d-8e72-ed6e4530c613","response_size":203},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/graphql","ip":"77.57.29.8","method":"POST","content_encoding":"gzip"}}}
{"type":"http-log","timestamp":"2019-12-17T13:54:11.035+0000","level":"info","detail":{"operation":{"query_execution_time":6.693769e-3,"user_vars":{"x-hasura-role":"manager","x-hasura-allowed-roles":"manager","x-hasura-default-role":"manager","x-hasura-user-id":"1"},"request_id":"de9a3bfa-1ffd-459c-83a8-62f53e85f102","response_size":46},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/graphql","ip":"77.57.29.8","method":"POST","content_encoding":"gzip"}}}
{"type":"http-log","timestamp":"2019-12-17T13:54:13.333+0000","level":"info","detail":{"operation":{"query_execution_time":2.352359643,"user_vars":{"x-hasura-role":"manager","x-hasura-allowed-roles":"manager","x-hasura-default-role":"manager","x-hasura-user-id":"1"},"request_id":"048694c3-6bea-46da-abbe-291ffc216ba8","response_size":4925},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/graphql","ip":"77.57.29.8","method":"POST","content_encoding":"gzip"}}}
{"type":"http-log","timestamp":"2019-12-17T14:00:06.954+0000","level":"info","detail":{"operation":{"query_execution_time":1.0989839e-2,"user_vars":{"x-hasura-role":"manager","x-hasura-allowed-roles":"manager","x-hasura-default-role":"manager","x-hasura-user-id":"1"},"request_id":"36d4a499-3cc1-476c-af99-580026f510ec","response_size":636},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/graphql","ip":"77.57.29.8","method":"POST","content_encoding":"gzip"}}}
{"type":"http-log","timestamp":"2019-12-17T14:00:09.145+0000","level":"info","detail":{"operation":{"query_execution_time":2.181984975,"user_vars":{"x-hasura-role":"manager","x-hasura-allowed-roles":"manager","x-hasura-default-role":"manager","x-hasura-user-id":"1"},"request_id":"45c908af-6e54-4fbe-9446-f1a2491aa377","response_size":5313},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/graphql","ip":"77.57.29.8","method":"POST","content_encoding":"gzip"}}}
{"type":"http-log","timestamp":"2019-12-17T14:00:09.145+0000","level":"info","detail":{"operation":{"query_execution_time":7.157495e-3,"user_vars":{"x-hasura-role":"admin"},"request_id":"f963df21-0cd1-4a24-8242-2829d00ebbde","response_size":22},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/query","ip":"77.57.29.8","method":"POST","content_encoding":"gzip"}}}
{"type":"http-log","timestamp":"2019-12-17T14:00:09.145+0000","level":"info","detail":{"operation":{"query_execution_time":1.288473e-2,"user_vars":{"x-hasura-role":"admin"},"request_id":"89c1645b-0d31-48c9-b01c-3158cdd3843c","response_size":1081},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/query","ip":"77.57.29.8","method":"POST","content_encoding":"gzip"}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment