graphql-engine/server/src-lib/Hasura
Anon Ray 046a783a14
server: pass http and websocket request to logging context (#5470)
* pass request body to logging context in all cases

* add message size logging on the websocket API

  this is required by graphql-engine-pro/#416

* message size logging on websocket API

  As we need to log all messages recieved/sent by the websocket server,
  it makes sense to log them as part of the websocket server event logs.
  Previously message recieved were logged inside the onMessage handler,
  and messages sent were logged only for "data" messages (as a server event log)

* fix review comments

Co-authored-by: Phil Freeman <phil@hasura.io>
2020-07-29 20:18:36 +05:30
..
Cache Migrate to GHC 8.10, upgrade dependencies. Closes #4517 2020-05-13 19:13:02 -04:00
Eventing Tracing: Simplify HTTP traced request (#5451) 2020-07-28 11:51:56 -07:00
GraphQL server: pass http and websocket request to logging context (#5470) 2020-07-29 20:18:36 +05:30
Incremental Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
RQL Add MonadTrace and MonadExecuteQuery abstractions (#5383) 2020-07-15 16:10:48 +05:30
Server server: pass http and websocket request to logging context (#5470) 2020-07-29 20:18:36 +05:30
SQL relay fixes (#5013) 2020-06-16 19:55:49 +05:30
App.hs server: pass http and websocket request to logging context (#5470) 2020-07-29 20:18:36 +05:30
Cache.hs server: avoid code duplication using type classes (#4624) 2020-05-13 11:17:32 +02:00
Db.hs Propagate the trace context to event triggers (#5409) 2020-07-23 13:39:26 -07:00
EncJSON.hs save permissions, relationships and collections in catalog with 'is_system_defined' explicitly (#3165) 2019-10-21 11:01:05 -05:00
HTTP.hs improve debug information in actions errors response (close #4031) (#4432) 2020-04-24 13:25:51 +05:30
Incremental.hs Build the GraphQL context after pruning dangling dependents 2020-01-30 18:17:29 -06:00
Logging.hs server: add logging for action handlers (#5471) 2020-07-29 19:00:29 +05:30
Prelude.hs relay fixes (#5013) 2020-06-16 19:55:49 +05:30
Session.hs Pass environment variables around as a data structure, via @sordina (#5374) 2020-07-14 12:00:58 -07:00
Tracing.hs Tracing: Simplify HTTP traced request (#5451) 2020-07-28 11:51:56 -07:00