Every logging platform charges twice: once to accept the data and again to keep it. On most bills the ingestion half dominates by 10x or more, which changes where you should spend optimization effort. Here is the arithmetic.
Adding a user ID to a metric label looks harmless in a pull request and is the single fastest way to multiply an observability bill by a thousand. Here is the multiplication arithmetic and how to cap it.
Sampling is the main cost lever in distributed tracing, and picking a rate is a trade between spend and the odds of capturing the rare failure you needed. Here is the math on both sides.
Running your own monitoring looks free because the software is. Adding up the instances, storage, replication, and engineer time gives a number you can actually compare against a managed bill. Here it is.
One bills per metric, log GB, and alarm. The other bills per host and per seat. They cross over at predictable points, and the crossover depends more on your fleet shape than on your traffic. Here is where each wins.
Cutting log volume is the highest-leverage observability optimization because ingestion dominates the bill. Some tactics take an afternoon and cut 30%. Others take a quarter and cut 5%. Here they are, ranked.
JSON logs are more verbose per line than plain text, which raises ingestion bytes. They are also queryable without full-text scans, which lowers query cost and enables filtering. The net effect depends on how you use them.
Canaries and alarms are individually cheap enough that nobody budgets for them, which is exactly how a few thousand dollars a month appears with no owner. Here is the per-unit math and how it compounds.
Security logs have the longest retention requirements and the lowest query rate of any telemetry you keep. That combination makes them the single best candidate for tiering, and the most commonly mishandled.
The same workload can cost five times more under one pricing model than the other, and the deciding factor is your container density and telemetry per host. Here is how to work out which side you are on.
The collector is infrastructure you now run, and it is also the cheapest place to delete data before it reaches a per-GB meter. Sizing it correctly is a small cost that unlocks a large saving.
Almost nobody queries observability data older than two weeks, yet most organizations keep months of it in the most expensive tier available. Tiering fixes that, and the price gap is roughly 100 to 1.
DEBUG level in production is one of the most expensive accidental configurations in software. It is also invisible, because nothing breaks. Here is how to price it and find it.
An auto-refreshing dashboard is a scheduled job that bills every thirty seconds forever. Most teams have dozens, half of them unopened for months. Here is what they cost.
Tracing cost does not scale with your traffic, it scales with your traffic times your service count times your instrumentation depth. That compound growth is why tracing bills surprise people.
Error tracking platforms bill per event, and a single bad deploy can emit millions in an hour. Grouping, sampling, and rate limits are the difference between a $200 bill and a $9,000 one.
Audit logs are mandatory, immutable, and billed by volume that grows with every automated call your systems make. Data events are the line that surprises people. Here is how to size and control it.
A single retention number applied to every telemetry signal is always wrong for most of them. Logs, metrics, traces, and audit records have different value curves and deserve different policies.
Observability data leaves your cloud on its way to a vendor, and it leaves continuously. At typical volumes the egress alone can rival a mid-size database bill, before the vendor charges anything.
Observability spend grows with traffic, with services, and with every new dashboard, and it is often the second largest line after compute. Here is how to cut it 40 to 70 percent while keeping the signal you actually use.
CloudWatch Logs charges about $0.50 per GB to ingest and only $0.03 per GB per month to store, so ingestion, not retention, is almost always the bigger bill. Understanding the split changes how you cut logging cost. Here is the breakdown.
CloudWatch dashboards cost $3 per dashboard per month after the first three free, and API calls to render them add more. Teams that auto-generate a dashboard per service can rack up an unexpected line. Here is how dashboard pricing works.
VPC Flow Logs are free to enable, but you pay to deliver them: about $0.50 per GB to CloudWatch Logs or less to S3. On a busy VPC that ingestion cost can surprise you. Here is how flow log pricing actually works.
Azure Monitor spans metrics, alerts, and Log Analytics ingestion, and the ingestion charge at roughly $2.30 per gigabyte is what usually runs the bill up. Here is how each part is priced and how to keep observability affordable.