couchbaselabs / cbft

*THIS PROJECT HAS MOVED* from couchbaselabs TO: https://github.com/couchbase/cbft -- no further development will be done here on couchbaselabs/cbft
Other
27 stars 5 forks source link

Feature request: index statistics #152

Open graemelambert opened 9 years ago

graemelambert commented 9 years ago

If we could access statistics via the admin panel and via the API that would be very useful.

Statistics that come to mind would be common phrases and # searches per minute/hour/day etc. - very similar to how buckets show real-time information on Couchbase Server.

Perhaps this information could be held in the "cfg-bucket" bucket for the CBFT cluster?

steveyen commented 9 years ago

Thanks! Current stats are a bit too "in the weeds".

One next step: need to do some digging around the open-source golang community as hopefully somebody has some open-source data structure implementations that make this straightforward.

graemelambert commented 9 years ago

That'd be great. I was also thinking that it may be useful to get the min/max/average # results for each of the common phrases?

graemelambert commented 9 years ago

Possibly also useful for a list of search terms that have been searched for that generated no results.