Missing Bucket Metrics

How to fetch the following 2 bucket metrics :-

  1. TPS(Transactions per second)
  2. N1QL queries/sec

I tried the /pools/default/buckets/<bucket_name>/stats, couldn’t find the above 2 stats in the list.
I also tried, /pools/default/buckets/<bucket_name>/statsDirectory , didn’t find it in this api as well.

@Sumit1991Saha Can you please take a look here

@raju @vsr1
What i am looking for is no. of N1QL per Sec for a bucket.

The link that you shared https://docs.couchbase.com/server/current/n1ql/n1ql-rest-api/admin.html#_statistics consits of different N!QL stats at node level, but i need it at bucket level.
Only way i could figure out is using “/default/buckets/{bucket}/nodes/{hostname}/stats” and fetch the N!QL per sec stats and then call it on other nodes and sum it up, which doesn’t look right to me.

Is there any other api? or am i looking at this problem incorrectly?

@Sumit1991Saha You are looking at this correctly. Let me find out from my development team too and get back to you

@raju any update on this?