feat(tvix/tracing): introduce common tvix-tracing crate
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>
This commit is contained in:
parent
11a6ff7706
commit
825d498908
15 changed files with 271 additions and 203 deletions
26
tvix/Cargo.lock
generated
26
tvix/Cargo.lock
generated
|
|
@ -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,13 +4355,27 @@ 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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue