Filtering and reducing AI agent telemetry with the OpenTelemetry Collector
If you switched on coding-agent telemetry and then saw your observability bill, this one is for you. One small Claude Code task emitted 181 records and 289 KB of JSON, and 25 sessions made 300 series for 8 metrics. Dropping session, user and terminal attributes in the Collector took that to 12 series, still within half a percent of raw, and filtering plus truncation roughly halves log and trace bytes - no sampling.