PostHog vs. Prometheus and Grafana Was a Category Mistake
They weren't competing for the same job, and I spent longer than I should have comparing them like they were.
I spent a while trying to figure out which telemetry stack to pick for a side project, PostHog on one side, Prometheus paired with Grafana on the other, before realizing the comparison didn't make sense. They're not competing for the same job. I'd been reading them as two answers to one question, when they're actually answers to two different questions.
PostHog sits at the product layer: what a user actually did, whether a feature worked, where someone got stuck and gave up. Prometheus and Grafana sit at the infrastructure layer: whether the server is up, how much CPU it's burning, whether a queue is backing up behind a slow endpoint. Prometheus does the collecting, a time-series store with its own query language and alerting rules, and Grafana does the displaying, pulling from Prometheus plus a handful of other sources into one dashboard. Putting PostHog up against that pair only makes sense if the real question is "which one thing do we set up right now," not "which one is better," and I'd been asking the second question the whole time.
What actually sold me on PostHog specifically, once I stopped comparing it to the wrong thing, was session replay. Watching an actual recorded session catches a class of bug that never shows up in an error log: a form field silently taking the wrong input, a button doing something subtly different from what its label promises. Nobody has to notice and describe it after the fact, you just watch the session and see it happen. Error tracking with stack traces and automatic grouping covers the harder-to-reproduce stuff the same way, the failures that only happen once in a while and never get a clean report attached to them.
Cost ended up deciding it more than features did. PostHog's free tier as of this year covers a real volume of analytics events, session recordings, and feature flag requests, no credit card required, with session replay and error tracking bundled into that same free allowance instead of gated behind a paid plan. Prometheus and Grafana are free too, but free there means free of license fees, not free of effort. Self-hosting means standing up and maintaining another running service, which is a real ongoing cost even when no money changes hands for it. For anything small enough that setup time matters more than infrastructure depth, that's the actual tradeoff, not the price tag.
None of this rules out wanting both eventually, PostHog for the product side, Prometheus and Grafana once there's real infrastructure worth watching closely. I just needed to stop treating it as one decision.
About the author
- I'm Sushanth, a high school senior in Hyderabad, India. This is where I write about the things I spend time on: learning from mistakes, building things in code, and the tools I actually work with day to day. I hold the Candidate Master title and a FIDE International Master norm, earned across roughly 140 rated tournaments in six countries. I stopped competing in 2025, but the habit competition taught me, sitting down after every loss and figuring out exactly where I went wrong, shapes how I approach everything else. On the technical side, I've gone deep on C/C++ through Duke University and University of London coursework. I'm also someone who likes a good terminal workflow and enjoys exploring (and abandoning) productivity tools. Expect posts on Neovim, tmux, what broke this week, and whatever I'm tinkering with.
Comments
Join the discussionNo comments yet. Be the first to comment.
Experiments & Ideas
Random projects, failed ideas, and tinkering journal — what I'm building, breaking, and learning along the way.

