about summary refs log tree commit diff
path: root/users/Profpatsch/my-prelude/default.nix
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2023-09-29T17·04+0200
committerclbot <clbot@tvl.fyi>2023-09-29T17·25+0000
commitacfc49efc22b443896b42cba17b42ef234ff4f82 (patch)
treec051a20f2c6c4de21508c8c66828849feae53ed4 /users/Profpatsch/my-prelude/default.nix
parent0dcc72a31c3dbadc2e70d2634582e50df4ca877b (diff)
feat(users/Profpatsch/MonadPostgres): trace db queries r/6674
Experiment of how to instrument a lib I’m using to trace instead of
log.

Now that we added MonadTracer to Transaction, we can drop the unlifted `inSpanT`.

Change-Id: Iea891a58cfb33a0837978611456c33aefcccf0d7
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9491
Autosubmit: Profpatsch <mail@profpatsch.de>
Tested-by: BuildkiteCI
Reviewed-by: Profpatsch <mail@profpatsch.de>
Diffstat (limited to 'users/Profpatsch/my-prelude/default.nix')
-rw-r--r--users/Profpatsch/my-prelude/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/users/Profpatsch/my-prelude/default.nix b/users/Profpatsch/my-prelude/default.nix
index 7d2b809ea776..5ed68026db50 100644
--- a/users/Profpatsch/my-prelude/default.nix
+++ b/users/Profpatsch/my-prelude/default.nix
@@ -29,6 +29,7 @@ pkgs.haskellPackages.mkDerivation {
     pkgs.haskellPackages.aeson-better-errors
     pkgs.haskellPackages.resource-pool
     pkgs.haskellPackages.error
+    pkgs.haskellPackages.hs-opentelemetry-api
     pkgs.haskellPackages.hspec
     pkgs.haskellPackages.hspec-expectations-pretty-diff
     pkgs.haskellPackages.monad-logger