This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-22
Channels
- # announcements (4)
- # babashka (10)
- # beginners (25)
- # biff (4)
- # calva (22)
- # clj-on-windows (3)
- # clj-otel (1)
- # clojure (17)
- # clojure-europe (5)
- # clojure-gamedev (2)
- # clojure-norway (1)
- # clojurescript (21)
- # conjure (5)
- # core-async (3)
- # defnpodcast (1)
- # deps-new (8)
- # events (3)
- # graalvm (10)
- # graphql (4)
- # gratitude (2)
- # hyperfiddle (7)
- # introduce-yourself (4)
- # jobs (1)
- # membrane (9)
- # pedestal (5)
- # quil (2)
- # re-frame (7)
- # releases (2)
- # rewrite-clj (14)
- # shadow-cljs (8)
- # tools-deps (5)
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
it does not appear to be disabled by default https://github.com/walmartlabs/lacinia-pedestal/blob/master/src/com/walmartlabs/lacinia/pedestal2.clj#L233
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.