OpsMastery Summit
Insights · General Observability

90% of my lab's metrics had no reader. Here's how I found out.

By Jason Vance · Nov 12, 2026 · 8 min read

90% of my lab's metrics had no reader. Here's how I found out.

This week I ran the first full scan of tvt against my lab stack. The scan found 1,525 metrics and 61,715 active series. 55,516 of those series had no reader. No dashboard panel, no alert, no recording rule, no one typing a query in Explore. That's 90%.

I seeded some of that waste on purpose. The size of it still surprised me.

Why I built a lab that misbehaves

I spent three years running reliability teams, and the same conversation came up every budget cycle: the observability bill is too high, so what can we cut? Nobody could answer with confidence. Teams knew roughly which dashboards they used. Nobody knew which of the thousands of series behind them mattered.

So before pointing a cost tool at anyone's production stack, I built one where I know the right answer. The lab runs Prometheus, Loki, Grafana, Alertmanager and node-exporter, plus a small shop app that emits known waste and known dependencies. The waste includes unused cache metrics, high-cardinality feature-flag counters, a user_id label, and a chatty debug log stream. The dependencies include alerts, a recording-rule chain that feeds an alert, a metric that only an alert reads, and a Loki audit alert. A file called ground-truth.yaml lists what the tool should find. Two tests run on every change: never recommend cutting something protected, and find every piece of seeded waste.

Where the series went

Two feature-flag counters carried a user_id label with 2,000 values. That's 20,000 series each, and nobody read either one. Behind them sat a long tail of histogram buckets from Grafana, Loki and Alertmanager that nobody charts. Each one is small. Together they're real money on any per-series bill.

This is the pattern I saw for years in production. Somebody adds a label "just in case" during an incident or a feature launch. It never comes off. Months later it's the biggest line on the bill, and nobody remembers why it's there.

A label nobody uses

shop_cart_operations_total does have readers. Two of them, and both run sum by (op). The user_id label on that metric has 2,000 values and gets summed away every time. Keep the metric, drop the label, and every panel looks exactly the same.

Finding that takes a parser, not a regex. tvt reads every PromQL and LogQL expression and records how each label is used: matched on ({pod="x"}), grouped by (by (pod)), joined on (on(pod)), or thrown away. Dropping a label a query groups by breaks the query. Dropping one it sums away changes nothing. A query using without(pod) is the subtle case: it keeps working, but its meaning shifts, so the tool treats it carefully.

Who actually reads your telemetry

The scan found 29 readers: 12 ad hoc queries from Explore and the API, 10 dashboard panels, 4 alert rules, 2 recording rules and 1 dashboard variable.

The biggest group surprised me. Ad hoc queries outnumbered dashboard panels. If a tool only looks at stored dashboards, it misses the engineer who checks a metric by hand every Monday morning. tvt reads the query logs so those reads count too.

Recording rules need special handling. If a dashboard reads a recorded series, the raw metrics feeding that rule are in use too, even though no panel names them. The tool follows the chain back to the source.

A dashboard is not a reader until someone opens it

The lab has two dashboards. Shop Overview loaded 655 times in the window. Legacy Queue loaded once. Most tools count both as in use because both exist.

This took some digging. Grafana sends X-Dashboard-Uid and X-Panel-Id headers with its queries, but Prometheus doesn't log them, and its query log only shows Grafana's IP as the client. Mimir's query frontend does log those headers if you turn on log_query_request_headers. For plain Prometheus, the answer is Grafana's own router log. Set GF_SERVER_ROUTER_LOGGING=true, and every dashboard load is logged with the user and time. tvt weighs each dashboard's panels by how often anyone actually opens it.

Prove the evidence before trusting it

"Unused" is only as good as the logs behind it. A query log that quietly stopped writing makes everything look unused, and that's how good metrics get dropped.

Every scan sends a probe query to each source and checks that it shows up in the log. If the probe never appears, that source is marked as a gap, and nothing is recommended on its evidence until someone fixes or acknowledges it. In the lab, all three sources passed: the Grafana router log, the Prometheus query log and the Loki query log.

Query logging has a real cost. Prometheus' query_log_file is off by default. It writes about 635 bytes per line, and rule evaluations get a line too. 2,000 rules evaluated every 30 seconds come to roughly 3.7 GB a day. Plan for log rotation before you turn it on.

What must never be cut

No human has ever opened shop_payment_queue_depth. An alert reads it, and that makes it a hard keep. The same goes for the metrics feeding a recording rule and the Loki stream behind an audit alert.

The tool ranks evidence. Declared dependencies come first: an alert, recording rule, SLO or runbook step that evaluates a signal. Observed usage comes second: dashboard views and queries. In the lab, 12 references were declared and 33 observed. Only observed usage fades over time. A declared dependency holds through quiet months.

Every on-call engineer knows the 3 a.m. metric: the one nobody looks at for nine months, until the night it's the only thing that explains the outage. Rarely used is not unused. Signals that look incident-critical but have no reader get flagged for a human to confirm, never queued for a drop.

What you can check in your own stack this week

You don't need my tool to start.

  • Turn on query logging in Prometheus (query_log_file) or Mimir and Loki, with rotation, so you have 30 days of evidence when you need it.
  • Turn on Grafana router logging so dashboard views are recorded.
  • Ask your cardinality API for the top labels by value count. Any user_id, request_id or session label on a metric deserves a hard look.
  • List the metrics your alerts and recording rules read. Those are your hard keeps, and they belong on a list before anyone starts cutting.

What's next

Dollar figures arrive with the cost model next sprint, priced at vendor list prices. Then come proposed changes as pull requests, gated by a check that refuses to drop anything protected. The tool runs read-only, inside your own network, and no data leaves. I'm opening it up to a few more people running Grafana stacks before Thanksgiving week. If you want in, reach out.

Learn it hands-on

I'll teach this at OpsMastery Summit, May 11 to 13, 2027 in Salt Lake City. You'll leave able to map every reader of every metric in your own stack, and to know which ones you can safely cut. Tickets are on sale at opsmasterysummit.com.

Be in the room in May.

Tickets are on sale now. Get notified the moment the Call for Papers opens.

OpsMastery Summit

The conference for the people who keep SaaS running at scale. Salt Lake City · May 11 to 13, 2027.

OpsMastery Summit is produced by HOC Events.

Explore
Reach the right inbox

General, sponsorship, speaking, volunteering or press: pick a topic and your message goes to the right team.

Send us a message →

Save the date: May 11 to 13, 2027.

Get the venue announcement, speaker news, and CFP updates first.

© 2026 HOC Events · Policies · Code of Conduct · Privacy Policy · Refund Policy