graphql

2022-05-22T17:32:10.411709Z

Hello all, i’m not super familiar with pedestal and lacinia, does anyone have an example of how they’ve disabled tracing in production ? https://lacinia-pedestal.readthedocs.io/en/latest/tracing.html

2022-05-25T00:03:10.954769Z

it does not appear to be disabled by default https://github.com/walmartlabs/lacinia-pedestal/blob/master/src/com/walmartlabs/lacinia/pedestal2.clj#L233

2022-05-25T06:51:16.771199Z

The docs of that interceptor mention the following: https://github.com/walmartlabs/lacinia-pedestal/blob/1db186bc35404093a533c66b550b4891271b9401/src/com/walmartlabs/lacinia/pedestal2.clj#L183-L184 Which (in pedestal2) is controlled by a header: https://github.com/walmartlabs/lacinia-pedestal/blob/1db186bc35404093a533c66b550b4891271b9401/src/com/walmartlabs/lacinia/pedestal2.clj#L201 In pedestal1 you were required to manually adjust the context (the https://lacinia.readthedocs.io/en/latest/tracing.html#resolver-tracing). I suppose you should remove the enable-tracing-interceptor-interceptor from the chain.

2022-05-23T13:45:38.134429Z

it’s disabled by default