Skip to content

Commit

Permalink
chore: update all dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
HoKim98 committed May 30, 2024
1 parent e9a8435 commit 9f45608
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ actix-web = { version = "4.6", default-features = false, features = [
"macros",
"rustls",
] }
actix-web-opentelemetry = { version = "0.17", features = ["metrics"] }
actix-web-opentelemetry = { version = "0.18", features = ["metrics"] }
anyhow = { version = "1.0", features = ["backtrace"] }
arrow = { version = "51" } # should be synced with deltalake and lancedb
argon2 = { version = "0.5" }
Expand Down Expand Up @@ -154,18 +154,18 @@ octocrab = { version = "0.38", default-features = false, features = [
opencv = { version = "0.92", default-features = false, features = [
"clang-runtime",
] }
opentelemetry = { version = "0.22", features = ["logs", "metrics", "trace"] }
opentelemetry-appender-tracing = { version = "0.3", features = [
opentelemetry = { version = "0.23", features = ["logs", "metrics", "trace"] }
opentelemetry-appender-tracing = { version = "0.4", features = [
# "experimental_metadata_attributes",
"logs_level_enabled",
] }
opentelemetry-otlp = { version = "0.15", features = [
opentelemetry-otlp = { version = "0.16", features = [
"logs",
"metrics",
"trace",
] }
opentelemetry-proto = { version = "0.5", features = ["with-serde", "zpages"] }
opentelemetry_sdk = { version = "0.22", features = [
opentelemetry-proto = { version = "0.6", features = ["with-serde", "zpages"] }
opentelemetry_sdk = { version = "0.23", features = [
"logs_level_enabled",
"metrics",
"rt-tokio",
Expand Down Expand Up @@ -255,7 +255,7 @@ tonic = { version = "0.11", features = [
"gzip",
] } # should be synced with opentelemetry-proto
tracing = { version = "0.1" }
tracing-opentelemetry = { version = "0.23", features = [
tracing-opentelemetry = { version = "0.24", features = [
"metrics",
"tracing-log",
] } # should be synced with opentelemetry
Expand Down
6 changes: 2 additions & 4 deletions crates/ark/core/src/tracer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,8 @@ fn init_once_opentelemetry(export: bool) {
.logging()
.with_exporter(init_otlp_pipeline())
.install_batch(Runtime)
.map(|logger| {
::opentelemetry_appender_tracing::layer::OpenTelemetryTracingBridge::new(
logger.provider(),
)
.map(|ref provider| {
::opentelemetry_appender_tracing::layer::OpenTelemetryTracingBridge::new(provider)
})
.expect("failed to init a logger")
}
Expand Down
5 changes: 3 additions & 2 deletions crates/kubegraph/vm/local/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -330,10 +330,11 @@ mod tests {
async fn simulate_simple_with_function() {
use kube::api::ObjectMeta;
use kubegraph_api::{
annotator::NetworkAnnotationSpec,
frame::DataFrame,
function::{
dummy::NetworkFunctionDummySpec, NetworkFunctionCrd, NetworkFunctionKind,
NetworkFunctionMetadata, NetworkFunctionSpec,
NetworkFunctionSpec,
},
graph::{Graph, GraphData, GraphFilter, GraphMetadata, GraphScope, NetworkGraphDB},
problem::{ProblemSpec, VirtualProblemAnalyzer},
Expand Down Expand Up @@ -379,7 +380,7 @@ mod tests {
},
spec: NetworkFunctionSpec {
kind: NetworkFunctionKind::Dummy(NetworkFunctionDummySpec {}),
metadata: NetworkFunctionMetadata {
metadata: NetworkAnnotationSpec {
filter: Some(
"src != sink and src.supply > 0 and src.supply > sink.supply".into(),
),
Expand Down

0 comments on commit 9f45608

Please sign in to comment.