Skip to content

Commit 1224256

Browse files
committed
Adding Tempo for Open Tracing
1 parent 568a3b0 commit 1224256

File tree

11 files changed

+326
-31
lines changed

11 files changed

+326
-31
lines changed

Cargo.lock

Lines changed: 184 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,11 @@ tracing-subscriber = { version = "0.3.18", default-features = false, features =
255255
"env-filter",
256256
] }
257257
tracing-web = "0.1.3"
258+
opentelemetry = { version = "0.30.0", features = ["trace"] }
259+
opentelemetry_sdk = { version = "0.30.0", features = ["trace", "rt-tokio"] }
260+
opentelemetry-http = "0.30.0"
261+
opentelemetry-otlp = { version = "0.30.0", features = ["grpc-tonic", "trace", "tls-roots"] }
262+
tracing-opentelemetry = "0.31.0"
258263
trait-variant = "0.1.1"
259264
url = "2.4"
260265
wasm-bindgen = "0.2.92"

kubernetes/linera-validator/helmfile.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,3 +154,10 @@ releases:
154154
set:
155155
- name: crds.enabled
156156
value: "true"
157+
- name: tempo
158+
version: 1.23.3
159+
namespace: tempo
160+
chart: grafana/tempo
161+
timeout: 900
162+
values:
163+
- {{ env "LINERA_HELMFILE_VALUES_LINERA_CORE" | default "values-local.yaml.gotmpl" }}

linera-base/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ tokio = { workspace = true, features = ["time"] }
6666
tokio-stream.workspace = true
6767
tracing.workspace = true
6868
tracing-subscriber = { workspace = true, features = ["json", "fmt", "ansi"] }
69+
tracing-opentelemetry.workspace = true
70+
opentelemetry.workspace = true
71+
opentelemetry_sdk.workspace = true
72+
opentelemetry-otlp.workspace = true
6973
trait-variant.workspace = true
7074
wasm-bindgen = { workspace = true, optional = true }
7175
wasm-bindgen-futures = { workspace = true, optional = true }

0 commit comments

Comments
 (0)