typesense / typesense-js

JavaScript / TypeScript client for Typesense
https://typesense.org/docs/api
Apache License 2.0
400 stars 74 forks source link

Retrieve stats.json via client? #138

Closed paulsingh closed 4 months ago

paulsingh commented 1 year ago

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?

jasonbosco commented 1 year ago

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.

julianpoy commented 10 months ago

Any update on this?

flowluap commented 5 months ago

Also interested in this topic.

jasonbosco commented 4 months ago

The stats endpoint is now available in 1.9.0-3:

client.stats.retrieve()