[go-nuts] Re: Performance Counters

2016-08-29 Thread Mark Richman
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" > >

[go-nuts] Re: Performance Counters

2016-08-29 Thread Diego Medina
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 und