Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Move Jaeger to Tokio
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-markin committed Nov 27, 2022
1 parent f6c3848 commit f35d5b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 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 node/jaeger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ edition = "2021"
description = "Polkadot Jaeger primitives, but equally useful for Grafana/Tempo"

[dependencies]
async-std = "1.11.0"
mick-jaeger = "0.1.8"
lazy_static = "1.4"
parking_lot = "0.12.0"
Expand All @@ -15,5 +14,6 @@ polkadot-node-primitives = { path = "../primitives" }
sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
thiserror = "1.0.31"
tokio = "1.22.0"
log = "0.4.17"
parity-scale-codec = { version = "3.1.5", default-features = false }
2 changes: 1 addition & 1 deletion node/jaeger/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ impl Jaeger {
"jaeger-collector",
Some("jaeger"),
Box::pin(async move {
match async_std::net::UdpSocket::bind("0.0.0.0:0").await {
match tokio::net::UdpSocket::bind("0.0.0.0:0").await {
Ok(udp_socket) => loop {
let buf = traces_out.next().await;
// UDP sending errors happen only either if the API is misused or in case of missing privilege.
Expand Down

0 comments on commit f35d5b3

Please sign in to comment.