In this blog post, I am sharing my experience setting up observability for coding agents. Specifically Claude Code and Pi.
Why
I wanted to learn what the current observability tooling for coding agents look like. Also I was curious to see my own usage. I have been using the $20 Claude and ChatGPT subscriptions for my personal vibing and I wanted to see how much API equivalent usage I was stacking up.
Actually, the real reason is that I really like colorful Grafana dashboards, I have a thing for them.
How does it work
Claude code has native support for OpenTelemetry and Pi has the same through an open source extension. The events & counters are collected by open telemetry collector and sent to Prometheus and Loki and viewed in Grafana.
What does it look like
And more..
Looks like I made good use of the $20 Claude subscription in just a week. Opus 5.5 on the $20 plan has been absolutely amazing!
How to set it up
Checkout the git repo for full setup - it is one command and few environment variables. Open your coding agent of preference, link the repo and ask it to set it up for you.



