Thanks Diego! I will check it out. Looks like it's what I'm after. On Monday, August 29, 2016 at 2:07:34 PM UTC-4, Diego Medina wrote: > > > Hi, > > You may want to look at > > https://golang.org/pkg/expvar/ > > If your app is already running the built in server, you can > > import _ "expvar" > > and then you will see a lot of internal counters at > > localhost:6060/debug/vars > > you can then add your own counters to it, which will also be displayed > under that same url > > > Here is a blog post about integrating it datadog (you can use any > monitoring tool you wish though) > > https://www.datadoghq.com/blog/instrument-go-apps-expvar-datadog/ > > Hope that's what you were looking for. > > Thanks > > Diego > > > On Monday, August 29, 2016 at 12:34:26 AM UTC-4, Mark Richman wrote: >> >> I'm relatively new to Go, coming from a Windows/.NET background >> primarily. Does the Go runtime itself offer performance counters similar to >> what Windows makes available via perfmon? Specifically, I'm looking to >> capture realtime (not via a dump) metrics on heap usage, thread counts, GC >> collections, HTTP queue length, etc. >> >>
-- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.