Skip to content

Commit 38c45bb

Browse files
cctdanielReisen
andauthored
improve tracing coverage (#131)
* refactor(agent): add tracing to expensive calls * skip keypair for tracing * add more traces to oracle state * precommit * remove unnecessary traces * add opentelemetry exporter * add more instruments * add more instruments * address comments * update config * address comments * make opentelemetry config optional * bump minor version --------- Co-authored-by: Reisen <[email protected]>
1 parent 1edcc34 commit 38c45bb

21 files changed

+501
-44
lines changed

Cargo.lock

Lines changed: 285 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyth-agent"
3-
version = "2.9.0"
3+
version = "2.10.0"
44
edition = "2021"
55

66
[[bin]]
@@ -52,6 +52,10 @@ winnow = "0.6.5"
5252
proptest = "1.4.0"
5353
tracing = { version = "0.1.40", features = ["log"] }
5454
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "json"] }
55+
tracing-opentelemetry = "0.24.0"
56+
opentelemetry = "0.23.0"
57+
opentelemetry_sdk = { version = "0.23.0", features = ["rt-tokio"]}
58+
opentelemetry-otlp = { version = "0.16.0" }
5559

5660
[dev-dependencies]
5761
tokio-util = { version = "0.7.10", features = ["full"] }

0 commit comments

Comments
 (0)