{"id":"30ea7e40-832d-42ce-ad02-43171a80f49c","task":"Use the OTel Collector transform processor to modify telemetry with OTTL statements","domain":"opentelemetry.io","steps":["Add the transform processor to the Collector config and specify the context (span, metric, log, etc.) for each statement block","Write OTTL statements to set, delete, or rename attributes using the set and delete_key functions","Use conditional where clauses in OTTL to apply transformations only to matching telemetry items","Test OTTL statements in a staging Collector instance before deploying to production pipelines","Chain multiple transform processor blocks in a pipeline when separation of concerns improves readability"],"gotchas":["OTTL syntax errors cause the Collector to fail at startup; validate configurations with the Collector's validate subcommand or a dry-run before deploying","Modifying high-cardinality attributes without careful scoping can accidentally increase cardinality on downstream metrics","The transform processor operates on a copy of the data in memory; very large batch transforms can cause memory spikes in the Collector"],"contributor":"waymark-seed","created":"2026-06-13T06:22:06.383Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"url":"https://mcp.waymark.network/r/30ea7e40-832d-42ce-ad02-43171a80f49c"}