graphql-engine/server/src-lib/Hasura/GraphQL/Execute/LiveQuery
Vamshi Surabhi ae75c6c06e
allow logging details of a live query polling thread (#4959)
* changes for poller-log

add various multiplexed query info in poller-log

* minor cleanup, also fixes a bug which will return duplicate data

* Live query poller stats can now be logged

This also removes in-memory stats that are collected about batched
query execution as the log lines when piped into an monitoring tool
will give us better insights.

* allow poller-log to be configurable

* log minimal information in the livequery-poller-log

Other information can be retrieved from /dev/subscriptions/extended

* fix few review comments

* avoid marshalling and unmarshalling from ByteString to EncJSON

* separate out SubscriberId and SubscriberMetadata

Co-authored-by: Anon Ray <rayanon004@gmail.com>
2020-06-04 22:55:21 +05:30
..
Options.hs Add some useful FromJSON instances (#4707) 2020-06-03 05:01:50 +05:30
Plan.hs allow logging details of a live query polling thread (#4959) 2020-06-04 22:55:21 +05:30
Poll.hs allow logging details of a live query polling thread (#4959) 2020-06-04 22:55:21 +05:30
State.hs allow logging details of a live query polling thread (#4959) 2020-06-04 22:55:21 +05:30
TMap.hs Use AssertNF for leak prophylaxis when doing mutable writes. Closes #3937 (#4097) 2020-03-17 20:31:22 -05:00