swarm-otel/swarm-controller: authenticate + route the swarm-tier OTLP producer through the gateway
This commit is contained in:
parent
f3be08f6b6
commit
350b4e9fb7
3 changed files with 170 additions and 81 deletions
|
|
@ -452,8 +452,9 @@ fn build_http_client(cfg: &QueueConfig) -> Result<reqwest::Client, Error> {
|
|||
/// per call, same as this crate did before the reconnect-storm fix added the
|
||||
/// cache.
|
||||
///
|
||||
/// `audience` is passed straight to [`token_request`] — see its doc for why
|
||||
/// it is optional and when a caller needs it. `None` reproduces this
|
||||
/// `audience` is passed straight to the private `token_request` helper —
|
||||
/// see its doc for why it is optional and when a caller needs it. `None`
|
||||
/// reproduces this
|
||||
/// function's behaviour before the parameter existed, so every caller from
|
||||
/// before that added it (the queue connect path, `auth.rs`'s bridge client)
|
||||
/// is unaffected.
|
||||
|
|
|
|||
Loading…
Reference in a new issue