Compare commits

..

No commits in common. "f33fe84909136932e9140bcfa9955020a282dc99" and "ffcea325f6a82475881b3086985c2f837ac6d9cc" have entirely different histories.

4 changed files with 111 additions and 3 deletions

82
Cargo.lock generated
View file

@ -1419,6 +1419,20 @@ dependencies = [
"thiserror 1.0.69",
]
[[package]]
name = "opentelemetry-appender-tracing"
version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ab5feffc321035ad94088a7e5333abb4d84a8726e54a802e736ce9dd7237e85b"
dependencies = [
"log",
"opentelemetry",
"tracing",
"tracing-core",
"tracing-log",
"tracing-subscriber",
]
[[package]]
name = "opentelemetry-otlp"
version = "0.27.0"
@ -1456,6 +1470,23 @@ version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bc1b6902ff63b32ef6c489e8048c5e253e2e4a803ea3ea7e783914536eb15c52"
[[package]]
name = "opentelemetry-stdout"
version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bc8a298402aa5c260be90d10dc54b5a7d4e1025c354848f8e2c976d761351049"
dependencies = [
"async-trait",
"chrono",
"futures-util",
"opentelemetry",
"opentelemetry_sdk",
"ordered-float",
"serde",
"serde_json",
"thiserror 1.0.69",
]
[[package]]
name = "opentelemetry_sdk"
version = "0.27.1"
@ -1477,6 +1508,15 @@ dependencies = [
"tracing",
]
[[package]]
name = "ordered-float"
version = "4.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c65ee1f9701bf938026630b455d5315f490640234259037edb259798b3bcf85e"
dependencies = [
"num-traits",
]
[[package]]
name = "overload"
version = "0.1.1"
@ -1525,6 +1565,8 @@ dependencies = [
"serde",
"tokio",
"tracing",
"tracing-chrome",
"tracing-subscriber",
]
[[package]]
@ -1532,12 +1574,25 @@ name = "patagia-common"
version = "0.1.0"
dependencies = [
"anyhow",
"dropshot",
"http",
"once_cell",
"opentelemetry",
"opentelemetry-appender-tracing",
"opentelemetry-otlp",
"opentelemetry-semantic-conventions",
"opentelemetry-stdout",
"opentelemetry_sdk",
"schemars",
"serde",
"slog",
"slog-async",
"tokio",
"tracing",
"tracing-chrome",
"tracing-core",
"tracing-opentelemetry",
"tracing-slog",
"tracing-subscriber",
]
@ -1548,6 +1603,14 @@ dependencies = [
"anyhow",
"clap",
"dropshot",
"http",
"once_cell",
"opentelemetry",
"opentelemetry-appender-tracing",
"opentelemetry-otlp",
"opentelemetry-semantic-conventions",
"opentelemetry-stdout",
"opentelemetry_sdk",
"patagia-common",
"schemars",
"serde",
@ -1555,7 +1618,11 @@ dependencies = [
"slog-async",
"tokio",
"tracing",
"tracing-chrome",
"tracing-core",
"tracing-opentelemetry",
"tracing-slog",
"tracing-subscriber",
]
[[package]]
@ -1764,7 +1831,7 @@ dependencies = [
"once_cell",
"socket2",
"tracing",
"windows-sys 0.59.0",
"windows-sys 0.52.0",
]
[[package]]
@ -2772,6 +2839,17 @@ dependencies = [
"syn",
]
[[package]]
name = "tracing-chrome"
version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bf0a738ed5d6450a9fb96e86a23ad808de2b727fd1394585da5cdd6788ffe724"
dependencies = [
"serde_json",
"tracing-core",
"tracing-subscriber",
]
[[package]]
name = "tracing-core"
version = "0.1.33"
@ -2831,9 +2909,11 @@ dependencies = [
"once_cell",
"regex",
"sharded-slab",
"smallvec",
"thread_local",
"tracing",
"tracing-core",
"tracing-log",
]
[[package]]

View file

@ -13,7 +13,10 @@ reqwest.workspace = true
schemars.workspace = true
serde.workspace = true
tokio.workspace = true
tracing-chrome.workspace = true
tracing-subscriber.workspace = true
tracing.workspace = true
[package.metadata.cargo-machete]
ignored = ["reqwest", "serde"]
[[bin]]
name = "patagia-agent"
doc = false

View file

@ -7,10 +7,23 @@ license = "MPL-2.0"
[dependencies]
anyhow.workspace = true
dropshot.workspace = true
http.workspace = true
once_cell.workspace = true
opentelemetry-appender-tracing.workspace = true
opentelemetry-otlp.workspace = true
opentelemetry_sdk.workspace = true
opentelemetry-semantic-conventions.workspace = true
opentelemetry-stdout.workspace = true
opentelemetry.workspace = true
schemars.workspace = true
serde.workspace = true
slog-async.workspace = true
slog.workspace = true
tokio.workspace = true
tracing-chrome.workspace = true
tracing-core.workspace = true
tracing-opentelemetry.workspace = true
tracing-slog.workspace = true
tracing-subscriber.workspace = true
tracing.workspace = true

View file

@ -9,11 +9,23 @@ license = "MPL-2.0"
anyhow.workspace = true
clap.workspace = true
dropshot.workspace = true
http.workspace = true
once_cell.workspace = true
opentelemetry-appender-tracing.workspace = true
opentelemetry-otlp.workspace = true
opentelemetry_sdk.workspace = true
opentelemetry-semantic-conventions.workspace = true
opentelemetry-stdout.workspace = true
opentelemetry.workspace = true
patagia-common = { path = "../common" }
schemars.workspace = true
serde.workspace = true
slog-async.workspace = true
slog.workspace = true
tokio.workspace = true
tracing-chrome.workspace = true
tracing-core.workspace = true
tracing-opentelemetry.workspace = true
tracing-slog.workspace = true
tracing-subscriber.workspace = true
tracing.workspace = true