Support for tracing of requests, as per the Apollo tracing specification.
Support for tracing of requests, as per the [Apollo tracing specification](https://github.com/apollographql/apollo-tracing).
(create-timing-start)
Captures the initial timing information that is used later to calculate
offset from the start time (via offset-from-start
).
Captures the initial timing information that is used later to calculate offset from the start time (via [[offset-from-start]]).
(duration start-offset)
Returns the number of nanoseconds since the start offset.
Returns the number of nanoseconds since the start offset.
(enable-tracing context)
Modifies the application context to enable tracing.
Tracing can signficantly slow down execution of the query document, both because of the essential overhead, and because certain optimizations are disabled during a traced request.
Modifies the application context to enable tracing. Tracing can signficantly slow down execution of the query document, both because of the essential overhead, and because certain optimizations are disabled during a traced request.
(inject-tracing result
timing-start
parse-phase
validation-phase
resolver-timings)
Injects the tracing data into result map, under :extensions.
Injects the tracing data into result map, under :extensions.
(offset-from-start timing-start)
Given the initial timing information from create-timing-start
, calculates
the start offset for an operation, as a number of nanoseconds.
Given the initial timing information from [[create-timing-start]], calculates the start offset for an operation, as a number of nanoseconds.
(timestamp)
Returns the current time as a RFC-3339 string.
Returns the current time as a RFC-3339 string.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close