Repository navigation
Description
One unverified claim in the PII boundary · release mvp · estimate 0.2 eng-weeks
The collector's transform/pii_allowlist processor is configured to drop every span attribute not on a 43-entry keep_keys list. Nobody has ever observed it drop one.
For a deduplication engine whose payload is names, emails, phones and addresses, that processor is the last thing between a Pii::Never attribute and an exportable store. Four tests cover it and not one of them is behavioural:
| test | what it actually asserts |
|---|---|
every_emitted_span_attribute_survives_the_collector |
the Rust-side names appear in the YAML list |
no_forbidden_attribute_is_allowlisted |
the Pii::Never names do not |
the_ottl_statement_carries_no_comment |
no # in the OTTL (this one earned its place — a # crashlooped the collector for ~25 minutes) |
the_allowlist_runs_before_sampling |
pipeline ordering in the YAML |
All four read the config file. They would all pass against a collector that silently stopped applying the processor.
Why that is not hypothetical here
This exact class of failure has already happened twice in this programme:
- the ConfigMap held the right allowlist bytes while the collector had rejected the whole config and the old pod kept serving (fix(obs): the collector refused my allowlist, and the deploy said success #510)
- the
awsemfexporter billed nine dimension series where the registry declared four, becausedimension_rollup_optiondefaulted to rolling up (fix(obs): awsemf was billing nine series where the registry declares four #615)
Both were config that looked right and behaved differently. The allowlist is the same shape of claim with a worse failure mode, because a leak is silent in the direction nobody is watching.
The probe
One OTLP span sent through a port-forward to the collector carrying a deliberately non-allowlisted attribute, then read back out of the exported Parquet:
- send a span with an attribute like
er.probe_leak = "[email protected]"plus one allowlisted attribute as a positive control — without the control, a span that never arrived at all looks identical to a span whose attribute was dropped - confirm the allowlisted attribute is present and
er.probe_leakis absent - record the result, and the date, in
collector_allowlist.rs's doc comment beside the honest limit it already states about SDK-added attributes
Related, same file, also unverified
collector_allowlist.rs's header already admits that busy_ns, idle_ns, thread.*, code.* and target are on the allowlist only because they were found by reading a real exported Parquet file, and that a tracing-opentelemetry bump renaming one will drop it again with no test failing. Re-measure after any bump of those pins.
Identified 2026-11-05 while separating "the code is right" from "the data is the proof". The two cited precedents were both found in live data, not in review.
Activity
athvin commentedon Nov 8, 2026
Claimed — working in #848 (draft). Closing that PR releases the claim. Note: the ticket's literal probe path (port-forward to the collector) is blocked by the same read-only RBAC finding as #660 — plan is a local Docker collector running the same config + a read-only verification that the deployed collector loaded it.
test(obs): prove the collector PII allowlist drops a non-allowlisted …
chore(skills): regen infra-platform coverage for the new probe script (…
fix(obs): probe review — grep -c not -q under pipefail, helm-render u…
test(obs): prove the collector PII allowlist drops a non-allowlisted …