Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> If go's Prometheus library had an easy way to run "metric.CurrentValue()"...

A small tip for the future: https://pkg.go.dev/github.com/prometheus/client_golang/prome....



Thanks! I've seen that before, but didn't realize that ToFloat64() was what I was looking for.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: