Skip to content

Commit

Permalink
Enable python to use opentelemetry by default ( if env variable is co…
Browse files Browse the repository at this point in the history
…nfigured for it)
  • Loading branch information
haixuanTao committed Mar 24, 2023
1 parent c6d6e83 commit d40e0cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions apis/python/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ license.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[features]
default = ["tracing"]
default = ["tracing", "telemetry"]
tracing = ["dora-node-api/tracing"]
telemetry = ["dora-runtime/telemetry"]

[dependencies]
dora-node-api = { workspace = true }
Expand All @@ -19,7 +20,7 @@ pyo3 = { version = "0.16", features = ["eyre", "abi3-py37"] }
eyre = "0.6"
serde_yaml = "0.8.23"
flume = "0.10.14"
dora-runtime = { workspace = true, features = ["telemetry"] }
dora-runtime = { workspace = true, features = ["tracing"] }

[lib]
name = "dora"
Expand Down

0 comments on commit d40e0cd

Please sign in to comment.