graphql-engine/server/src-lib/Hasura/GraphQL
Brandon Simmons 58ef316118 Add request timings and count histograms to telemetry. Closes #3552
We upload a set of accumulating timers and counters to track service
time for different types of operations, across several dimensions (e.g.
did we hit the plan cache, was a remote involved, etc.)

Also...

Standardize on DiffTime as a standard duration type, and try to use it
consistently.

See discussion here:
https://github.com/hasura/graphql-engine/pull/3584#pullrequestreview-340679369

It should be possible to overwrite that module so the new threadDelay
sticks per the pattern in #3705 blocked on #3558

Rename the Control.Concurrent.Extended.threadDelay to `sleep` since a
naive use with a literal argument would be very bad!

We catch a bug in 'computeTimeDiff'.

Add convenient 'Read' instances to the time unit utility types. Make
'Second' a newtype to support this.
2020-02-03 18:50:10 -06:00
..
Execute Add request timings and count histograms to telemetry. Closes #3552 2020-02-03 18:50:10 -06:00
Resolve remove hdb_views for inserts (#3598) 2020-01-16 10:23:28 +05:30
Schema functions can access session info via input arg (close #2322) (#3143) 2019-11-20 12:17:06 +05:30
Transport Add request timings and count histograms to telemetry. Closes #3552 2020-02-03 18:50:10 -06:00
Validate support computed fields returning scalars or set of tables (close #1387) (#2917) 2019-10-18 13:59:47 +05:30
Context.hs Add support for fine-grained dependency tracking to Incremental 2020-01-08 16:45:54 -06:00
Execute.hs Add request timings and count histograms to telemetry. Closes #3552 2020-02-03 18:50:10 -06:00
Explain.hs Add caching for recreating event trigger functions 2020-01-08 16:45:46 -06:00
Logging.hs refactor some internal components (#3414) 2019-11-26 17:44:21 +05:30
RemoteServer.hs server: Parameterize the graphql-engine library over the version (#3668) 2020-01-22 15:55:55 -06:00
Resolve.hs Add caching for recreating event trigger functions 2020-01-08 16:45:46 -06:00
Schema.hs remove hdb_views for inserts (#3598) 2020-01-16 10:23:28 +05:30
Utils.hs Refactor schema cache construction to avoid imperative updates 2020-01-08 16:43:06 -06:00
Validate.hs Track variable uses within query validation for caching (fix #3097) (#3135) 2019-10-16 09:33:34 -05:00