You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.install_simple works fine, I receive traces in DataDog APM, however, .install_batch(opentelemetry::runtime::AsyncStd) seems to produce no traces, but there are no error logs either.
I can't use runtime::Tokio because actix-web stable (0.3) has not updated to 1.0 which is what is used by opentelemetry, and we use actix-web stable, we receive there is no reactor running, must be called from the context of a Tokio 1.x runtime.
Here are relevant parts of our Cargo.toml.
[dependencies]
actix-rt = "2.5.1"
async-std = { version = "1.10", features = ["attributes"] }
async-trait = { version = "0.1.52" }
actix-web = "3.3.3"
async-recursion = "1.0.0"
futures = { version = "0.3" }
opentelemetry = { version = "0.17.0", features = ["rt-async-std"] }
opentelemetry-datadog = { version = "0.5.0", features = ["surf-client"] }
# For opentelemetry-datadog.
surf = { version = "2.3.2", features = ["default-client"] }
providing features = ["rt-async-std"] I had assumed would work. Any suggestions?
The text was updated successfully, but these errors were encountered:
Update, I attempted to update actix-web to 4-rc3 and use tokio batch exporter. However, using http://dd_agent_host:8126 still failed to send traces. In the logs I see
OpenTelemetry trace error occurred. Curl(“Send failed since rewinding of the data stream failed”): Send failed since rewinding of the data stream failed
.install_simple
works fine, I receive traces in DataDog APM, however,.install_batch(opentelemetry::runtime::AsyncStd)
seems to produce no traces, but there are no error logs either.I can't use
runtime::Tokio
because actix-web stable (0.3) has not updated to 1.0 which is what is used by opentelemetry, and we use actix-web stable, we receivethere is no reactor running, must be called from the context of a Tokio 1.x runtime
.Here are relevant parts of our
Cargo.toml
.providing
features = ["rt-async-std"]
I had assumed would work. Any suggestions?The text was updated successfully, but these errors were encountered: