Watch
0
0
Fork
You've already forked hyperhive
0

swarm-otel: stamp sender from the authenticated client id, not a hive

This commit is contained in:
atlas 2026-11-22 23:45:42 +01:00 • committed by mara
commit 22c4d16a20

View file

@ -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/";
}
{