Liking cljdoc? Tell your friends :D

com.walmartlabs.lacinia.tracing

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).
raw docstring

create-timing-startclj

(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]]).
sourceraw docstring

durationclj

(duration start-offset)

Returns the number of nanoseconds since the start offset.

Returns the number of nanoseconds since the start offset.
sourceraw docstring

enable-tracingclj

(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.
sourceraw docstring

inject-tracingclj

(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.
sourceraw docstring

offset-from-startclj

(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.
sourceraw docstring

timestampclj

(timestamp)

Returns the current time as a RFC-3339 string.

Returns the current time as a RFC-3339 string.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close