Did a little more digging on the below GET handle. It goes to: https://github.com/couchbase/sync_gateway/blob/master/src/github.com/couchbase/sync_gateway/rest/api.go
and the built-in function below. runtime.ReadMemStats(&st.MemStats) so its just pulling memory profile from golang. There are some other methods that runtime also has. LINK here: https://golang.org/pkg/runtime/ I'll see if I can append some more KPIs to the _stats call. On Wednesday, November 25, 2015 at 12:22:16 AM UTC-7, househippo wrote: > > > In > https://github.com/couchbase/sync_gateway/blob/master/src/github.com/couchbase/sync_gateway/rest/routing.go > > there are some stats here at line: > > Handle("/_stats", makeHandler(sc, adminPrivs, (*handler).handleStats > )).Methods("GET") > > via http://<sync_gateway_host>:4985/_stats/ > > > On Tuesday, November 24, 2015 at 5:46:48 PM UTC-7, househippo wrote: >> >> It be great to have REST call to get sync gateway stats for a specific >> db and channels. Something similar to Couchbase servers >> /pools/default/bucktes/{bucket}/nodes/{cb-node}/stats >> > -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/729de4cc-5573-4dbd-85dd-ef5d5cd53725%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
