I’m trying to query bucket statistics with a GET request, and want to limit/expand the number of results for each metric using the “haveTStamp” parameter mentioned here.
However, that parameter doesn’t seem to limit nor expand the number of results based on the timestamp provided. Eg., when I provide a timestamp from 5 seconds ago, the HTTP query still shows the full range of metrics from the past minute (a total of 60). I’m expecting (from my understanding of the parameter) it to limit to only the last 5 entries in this instance.
An example query from above:
http://localhost:8091/pools/default/buckets/Data/stats?haveTStamp=1615845246000. The number placed after haveTStamp doesn’t seem to matter. For example, I could do
http://localhost:8091/pools/default/buckets/Data/stats?haveTStamp=99999999999999 and nothing changes.
I’m wondering if perhaps I’m using the wrong parameter, or perhaps a wrong format (the documentation indicates a UNIX style stamp in milliseconds, which is what I’ve used). Or perhaps it doesn’t behave the way I expect.
Thanks for any help. Couchbase version is 6.6.