typesense-js icon indicating copy to clipboard operation
typesense-js copied to clipboard

Retrieve stats.json via client?

Open paulsingh opened this issue 2 years ago • 3 comments

This isn't an issue per se... more of a question: I see that the client can retrieve Health and Metrics, is there a reason that Stats (eg, stats.json) isn't also available?

paulsingh avatar Nov 04 '22 14:11 paulsingh

We were thinking about potentially merging the stats and metrics endpoint at some point in the future on the Typesense Server side... So we didn't add it to the clients until we've finalized on what we want to do there.

jasonbosco avatar Nov 10 '22 21:11 jasonbosco

Any update on this?

julianpoy avatar Oct 20 '23 19:10 julianpoy

Also interested in this topic.

flowluap avatar Mar 29 '24 21:03 flowluap

The stats endpoint is now available in 1.9.0-3:

client.stats.retrieve()

jasonbosco avatar May 14 '24 20:05 jasonbosco