Hacker News new | past | comments | ask | show | jobs | submit login

> 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.




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

Search: