Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Cargo.lock

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

15 changes: 15 additions & 0 deletions crates/ourios-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,21 @@ blake3 = { version = "1", default-features = false }
# derives so the spec mapping stays single-sourced through the proto
# crate.
serde_json = { version = "1", default-features = false, features = ["std"] }
# The OTel metrics **API** only (RFC 0001 §6.8 "Export architecture":
# library crates depend on the lightweight API and resolve instruments
# through `global::meter`; the heavy SDK + OTLP exporter live in
# `ourios-telemetry`). Drives the alias map's
# `alias_assertions_total` / `alias_retractions_total` counters
# (§6.8 telemetry table).
opentelemetry = { version = "0.32", default-features = false, features = ["metrics"] }

[dev-dependencies]
# `init_in_memory` collects the alias counters' exported metric stream
# through an in-memory reader (no OTLP endpoint) in the §6.8 telemetry
# unit test — same pattern as the compaction-metrics test.
ourios-telemetry = { path = "../ourios-telemetry", features = ["testing"] }
tokio = { version = "1", default-features = false, features = ["rt", "rt-multi-thread", "macros"] }
opentelemetry_sdk = { version = "0.32", default-features = false, features = ["metrics", "testing"] }

[lints]
workspace = true
Loading
Loading