Skip to content

Commit

Permalink
Bump to opentelemetry system metrics 0.1.6 that measure GPU memory usage
Browse files Browse the repository at this point in the history
  • Loading branch information
haixuanTao committed Nov 20, 2023
1 parent 32831ca commit 645c56d
Show file tree
Hide file tree
Showing 3 changed files with 97 additions and 13 deletions.
106 changes: 95 additions & 11 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion binaries/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dora-core = { workspace = true }
dora-tracing = { workspace = true, optional = true }
dora-metrics = { workspace = true, optional = true }
opentelemetry = { version = "0.21.0", features = ["metrics"], optional = true }
opentelemetry-system-metrics = { version = "0.1.5", optional = true }
opentelemetry-system-metrics = { version = "0.1.6", optional = true }
eyre = "0.6.8"
futures = "0.3.21"
futures-concurrency = "7.1.0"
Expand Down
2 changes: 1 addition & 1 deletion binaries/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ async fn run(
let meter = global::meter(Cow::Borrowed(Box::leak(
config.node_id.to_string().into_boxed_str(),
)));
init_process_observer(meter);
init_process_observer(meter).context("could not initiale system metrics observer")?;
_started
};

Expand Down

0 comments on commit 645c56d

Please sign in to comment.