Build a log store whose defining feature is a cost ceiling it will actually enforce. Stack: your choice, an S3-compatible object store, and a small query service. Docker Compose for local development. Consider building on an existing search engine designed for object storage rather than writing an index from scratch. Ingestion: an HTTP endpoint accepting newline-delimited JSON with a required timestamp field and arbitrary other fields. Buffer in memory, flush to object storage in columnar files partitioned by dataset and hour. No schema is declared up front; fields are discovered and their types recorded per partition. Query: a small language with filter, aggregate, group-by, order and limit over a time range, returning tables. Push predicates down to the partition level so a one-hour query never reads a week of files. Show the bytes scanned with every result — that number is what teaches people to write better queries. The budget, which is the point of the build: - A monthly ingestion budget in gigabytes and a monthly query budget in bytes scanned, both configured. - At 80% of either, a warning appears in the interface and an alert is sent. - At 100% of the ingestion budget the behaviour is chosen, not implicit: drop with a counter of what was dropped per dataset, or sample at a stated rate. Never silently accept and bill. - Per-dataset retention in days, with expiry deleting objects from storage and not merely hiding rows. Say in the README why this is the design: a log pipeline with no ceiling turns one runaway debug statement into a four-figure invoice, and that is the most common expensive accident in observability. Alerts: a saved query, an interval, and a threshold. Fire to a webhook. Record every evaluation so a missed alert can be investigated. Write tests for partition pruning actually reducing bytes scanned, for the budget stopping ingestion at the limit, and for retention deleting objects. Do not build agents or client libraries for a dozen languages — one documented HTTP endpoint is enough.