Watch
0
0
Fork
You've already forked hyperhive
0

swarm-otel: delete a sender-set sender and hive from datapoints and log records

This commit is contained in:
atlas 2026-11-23 00:51:31 +01:00 • committed by mara
commit 90a1e523fb

View file

@ -146,12 +146,13 @@ harness metrics rather than from a metric label.
The swarm tier checks a token at **one receiver per audience**, because an OIDC
authenticator accepts exactly one. Every receiver feeds the same pipelines, and
the first processor in them deletes any `sender` the payload carried, then sets
`sender` from the token's `client_id` claim. The collector stamps no `hive`. A hive
the first processors in them delete any `sender` or `hive` the payload
carried, on the resource and on each datapoint or log record, then set `sender`
from the token's `client_id` claim. The collector stamps no `hive`. A hive
collector therefore can't report metrics as another sender, and can't relabel
its own by editing what it sends — the label isn't taken from the payload at
all. A token without the claim leaves the record with no `sender`, never one the
sender chose.
all. A token without the claim leaves the record with no `sender`, never one
the sender chose.
**Nothing to set where the hive holds its store identity.** The hive's collector
reads its secret from the swarm's secret store under the hive's own leaf