swarm-otel: stamp sender from the authenticated client id, not a hive
This commit is contained in:
parent
ab329e5793
commit
22c4d16a20
1 changed files with 243 additions and 233 deletions
|
|
@ -75,7 +75,7 @@ let
|
|||
&& otel.serviceProducers.swarm-ci-metrics.clientId == clientId
|
||||
&& s.receivers."otlp/swarm-ci-metrics".protocols.http.auth.authenticator == "oidc/swarm-ci-metrics"
|
||||
&& s.extensions."oidc/swarm-ci-metrics".audience == clientId
|
||||
&& lib.elem "otlp/swarm-ci-metrics" s.service.pipelines."metrics/${otel.producerName}".receivers
|
||||
&& lib.elem "otlp/swarm-ci-metrics" s.service.pipelines."metrics/authenticated".receivers
|
||||
&& h.services.nginx.virtualHosts.${otel.domain}.locations ? "/swarm-ci-metrics/";
|
||||
}
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue