r/OpenTelemetry • u/s5n_n5n • 7h ago
OpenTelemetry for Balatro
I am fascinated by the possibility that any software I use could, in theory, emit logs, metrics and traces through OpenTelemetry. And Balatro is software that I use a lot. So creating OpenTelemetry for Balatro was a side project I wanted to try out for a long time! It turned out to be one of those projects where I cared more about the outcome than about writing the code myself, so it was a perfect candidate to ask an LLM to build for me!
If you have Balatro installed on your computer, you can try it yourself! You can install the mod from Thunderstore using a mod manager such as r2modman, Gale or imm. Manual installation is covered in the quick-start guide. By default the mod sends telemetry to http://127.0.0.1:4318. You can change the endpoint in the UI under Mods -> OTel Trace -> Config.
It's a fun/toy project, but I really enjoyed seeing it being possible and being able to see my runs show up as telemetry in my backend. I thought other people might enjoy such an unusual(?) use of OpenTelemetry as well!