TL;DR: Treat a malformed metrics-query response as an explicit unknown result, never as zero failures. For a marketplace's nightly data pipeline, attach tenant, pipeline stage, and run identifiers before logs enter shared storage; measure stored bytes by those dimensions; retain compact audit re...
Source: [Dev.to](https://dev.to/sawyerflynn1578/malformed-metrics-query-json-implementing-defensive-alert-worker-boundaries-3ml1)