diff options
author | Simon Hauser <simon.hauser@helsinki-systems.de> | 2024-06-06T13·44+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-06-10T16·35+0000 |
commit | 825d498908e2f6c9fdca3225afefb0aa4b3cc747 (patch) | |
tree | 765e5412bf24ae41bb3d6f42791a229b68a88451 /tvix/Cargo.lock | |
parent | 11a6ff77067a7b9eec3f1c15412d7143cb85a047 (diff) |
feat(tvix/tracing): introduce common tvix-tracing crate r/8242
Introduce a new common crate that contains tracing boilerplate which then can be used in the cli, tvix-store and tvix-build crates. It has otlp as an optional feature, which is currently only used by tvix-store. Change-Id: I41468ac4d9c65174515d721513b96fea463d6ed2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11758 Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de> Autosubmit: Simon Hauser <simon.hauser@helsinki-systems.de>
Diffstat (limited to 'tvix/Cargo.lock')
-rw-r--r-- | tvix/Cargo.lock | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/tvix/Cargo.lock b/tvix/Cargo.lock index 584290084bde..d7955cbc1e89 100644 --- a/tvix/Cargo.lock +++ b/tvix/Cargo.lock @@ -4127,8 +4127,8 @@ dependencies = [ "tonic-build", "tonic-reflection", "tracing", - "tracing-subscriber", "tvix-castore", + "tvix-tracing", "url", ] @@ -4204,12 +4204,12 @@ dependencies = [ "tikv-jemallocator", "tokio", "tracing", - "tracing-subscriber", "tvix-build", "tvix-castore", "tvix-eval", "tvix-glue", "tvix-store", + "tvix-tracing", "wu-manber", ] @@ -4326,13 +4326,9 @@ dependencies = [ "count-write", "data-encoding", "futures", - "indicatif", "lazy_static", "lru", "nix-compat", - "opentelemetry", - "opentelemetry-otlp", - "opentelemetry_sdk", "parking_lot 0.12.2", "pin-project-lite", "prost", @@ -4359,14 +4355,28 @@ dependencies = [ "tower", "tracing", "tracing-indicatif", - "tracing-opentelemetry", - "tracing-subscriber", "tvix-castore", + "tvix-tracing", "url", "walkdir", ] [[package]] +name = "tvix-tracing" +version = "0.1.0" +dependencies = [ + "indicatif", + "lazy_static", + "opentelemetry", + "opentelemetry-otlp", + "opentelemetry_sdk", + "tracing", + "tracing-indicatif", + "tracing-opentelemetry", + "tracing-subscriber", +] + +[[package]] name = "typenum" version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" |