Video in progress

Observability costs have reached 25% of the infrastructure budget. Leadership asks you to cut. How do you approach it?

First I break the cost down by signal type, team and service, and look at what value each part delivers. Then I cut the biggest and least-used parts: unneeded log volume, unused metrics, excess trace sampling and retention. In the long term, showback, so teams see their own cost.

📖 Answer

The mistake here is cutting everything evenly by 30%. Then what you need during an incident goes too. The right way is to tie cost to value.

  1. Attribution, meaning where the cost goes: log ingest and indexing, active series, span volume, retention. Each one by team and service. It is usually a Pareto: a few services and one or two signal types account for most of the cost.

  2. Measure usage: which metrics were used in any dashboard, alert or query in the last 90 days? Which log indexes were searched? Unused data is the first candidate.

  3. Technical measures (in order of impact):

  • logs: sample successful requests, remove health/access noise, shorten repeated stack traces; a cheap storage tier that isn't indexed;
  • metrics: drop unused metrics with relabeling, keep histograms only on SLO endpoints, remove high-cardinality labels;
  • traces: tail sampling, 100% of errors and slow requests, 1-5% of the rest;
  • retention: shorter hot storage, with older data downsampled in cheap storage.
  1. Organizational measure, showback: each team sees its monthly observability cost. In many cases that visibility alone stops the growth. The next step is budgets and quotas.

You have to go to leadership with numbers: "cutting X saves Y a month, and Z types of incidents get harder to find". For example, before turning on log sampling, I go through the last quarter's incidents and check whether the data that would be sampled out was decisive in any of them. Telemetry is like a product: if you can't prove its value, it gets cut.