I used a monitoring vendor's default preset and paid for a data store that nothing read
Avoided per year: $3,500–$5,000. Incurring unnecessary costs by saving metrics and then proceeding to never read the saved data.
When I wrote the infrastructure module for our clusters, I set up container monitoring with the vendor’s default stream group, a one-minute collection interval, and no namespace filtering. Those are the values the portal and the quickstart templates give you if you just turn the feature on. I didn’t make any choices of my own.
That preset collects container logs and Kubernetes events. It also collects per-container performance counters and inventory tables every minute. Our design already sent every metric through an OpenTelemetry collector into a managed Prometheus store, and everything that reads metrics queries that store with PromQL. Nothing on the platform read the counter or inventory tables: no service, no admin route, no dashboard, no requirement. They still made up about 64% of each log workspace’s ingestion, around 4.2 GB a day per environment, and that workspace bills per GB. The container logs, which are the part a cluster actually needs, were about 1%.
What it cost
- About $6K a year across staging and production at the late-November rate, on a platform that wasn’t running any real workloads yet.
- The cost grew as we added services. Collection runs per container per minute, so ingestion more than doubled over the month and would have kept climbing with every tenant workload.
- We had two emitters for the same CPU, memory and restart series, one of them unread, writing into a second store at a second price.
- The config stayed in place for 29 days. That included a cost review where the log line was on the same bill we were looking at. We were chasing a different overage that day, and nobody opened the log line.
What I did wrong
- I treated a vendor default as a decision. A preset is the vendor’s guess at what a typical customer wants. It isn’t based on what this system does. I never listed the tables the preset produces or named a reader for each one.
- I didn’t check the config against the design. The telemetry design said metrics have one store and one read path. My module added a second metrics path into a different store. No written rule said “and nothing else”, so I treated the extra path as a harmless detail. It was a contradiction, and a review should have caught it.
- I didn’t price it. The daily cost was easy to work out from the code: containers × 1,440 minutes × bytes per sample × price per GB. That takes a few minutes, and I skipped it. My code comment even described the two most expensive tables (“its inventory, its performance counters”) as if they were features.
The fix
The collection rule now asks for only the two streams that have readers, container logs and Kubernetes events, at a five-minute interval. Before dropping the other tables, we searched every platform repo, the admin panel, the deployment code and the docs for anything that queried them, and found nothing. Each workspace should fall from about 6.6 GB a day to about 2.4.
What I’ll do from now on
- Every collection rule gets a reader list. For each table or stream, I’ll name what consumes it, and anything without a reader doesn’t get collected.
- I’ll write down a cost estimate next to every metered config, as units × interval × size × price, before I commit it.
- A vendor default or recommended setting is a warning sign. It means the value came from outside the system. “Group-Default” and “1m” now get the same scrutiny as “sized to the limit with room to spare”.
- Two emitters for the same series is a defect. If the design already sends a signal somewhere, a second collector of that signal needs a written reason.
- When a bill is open, I’ll check every line that’s more than a few dollars a day before the review ends, not only the line that prompted the review. We already had a lesson that named this exact meter. It didn’t help because I read it as being about the incident it came from, not about the next line on the same invoice.
Questions for review
- Does this config use a vendor default, preset or recommended interval? If so, which of its outputs does something read, and what does the rest cost per day?
- Does this module write a series that the design already sends somewhere else?
- Can the daily cost be worked out from the code alone? If so, is that number written down?