graphql-engine/server/src-lib/Data
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
..
Aeson export metadata without nulls, empty arrays & default values (#3393) 2019-12-14 00:47:38 -06:00
HashMap/Strict Use arrows instead of monads to define the schema cache construction 2020-01-08 16:43:06 -06:00
Parser fix cache-control header parsing for JWK (fix #3655) (#3676) 2020-01-13 15:56:51 -06:00
Sequence fix updating a column with multiple operators causing postgres query error (fix #3432) (#3458) 2019-12-03 14:00:37 -06:00
Text refactor to remove warnings especially with orphan instances (#1163) 2018-12-13 12:56:15 +05:30
Time/Clock Add request timings and count histograms to telemetry. Closes #3552 2020-02-03 18:50:10 -06:00
TByteString.hs refactor to remove warnings especially with orphan instances (#1163) 2018-12-13 12:56:15 +05:30