move otel_http_client from swarm-queue-client into swarm-controller
This commit is contained in:
parent
361396cab8
commit
f3be08f6b6
9 changed files with 52 additions and 70 deletions
|
|
@ -84,16 +84,20 @@ swarm-authelia-bridge-sock.workspace = true
|
|||
# creation config are shared with the hive that writes it, so this end does
|
||||
# not get to declare them privately.
|
||||
#
|
||||
# `otel-auth` for `vcs_metrics`'s `AuthenticatedHttpClient` — see that
|
||||
# feature's own comment in `swarm-queue-client`'s Cargo.toml.
|
||||
swarm-queue-client = { workspace = true, features = ["kv", "otel-auth"] }
|
||||
# The `HttpClient` trait itself, so `main.rs` can name
|
||||
swarm-queue-client = { workspace = true, features = ["kv"] }
|
||||
# `otel_http_client.rs`'s `AuthenticatedHttpClient` — an
|
||||
# `opentelemetry_http::HttpClient` impl authenticated with this crate's own
|
||||
# `swarm-queue-client` identity. Lives in this crate rather than
|
||||
# `swarm-queue-client` (mara's own call during review) since this daemon is
|
||||
# its only caller; see that module's doc for the full rationale. `opentelemetry-http`
|
||||
# is also needed directly (not just transitively) so `main.rs` can name
|
||||
# `Box<dyn opentelemetry_http::HttpClient>` when handing
|
||||
# `vcs_metrics::authenticated_http_client()`'s output to
|
||||
# `hive_jobq_metrics::spawn_exporter` — a transitive dependency (via
|
||||
# `swarm-queue-client`'s `otel-auth` feature above) isn't enough to `use`
|
||||
# it directly, Cargo requires a direct entry for that.
|
||||
# `hive_jobq_metrics::spawn_exporter`.
|
||||
opentelemetry-http.workspace = true
|
||||
async-trait.workspace = true
|
||||
bytes.workspace = true
|
||||
http.workspace = true
|
||||
tokio.workspace = true
|
||||
tracing.workspace = true
|
||||
tracing-subscriber.workspace = true
|
||||
|
|
|
|||
Loading…
Reference in a new issue