Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Server 5.5/Vulcan, Server 5.1.0, Alice
-
None
-
None
-
DOC-S31-Dec07, DOC-S32-Dec21
-
1
Description
The URI given to use to get specific stats is the following :
GET /pools/default/buckets/@xdcr-[source_bucket]/stats/[destination_endpoint] |
This doesn't work to retrieve specific stats as it returns a "Requested resource not found." error.
The correct endpoint is the following:
GET /pools/default/buckets/[source_bucket]/stats/[destination_endpoint] |
I get the same thing under 5.5.1:
$ curl -X GET http://10.143.181.102:8091/pools/default/buckets/@xdcr-beer-sample/stats/replications%2Facf28718d62bdd1686974ca696031c01%2Ftravel-sample%2Fbeer-sample%2Fdocs_written -u Administrator:password
Requested resource not found.
$ curl -X GET http://10.143.181.102:8091/pools/default/buckets/beer-sample/stats/replications%2Facf28718d62bdd1686974ca696031c01%2Ftravel-sample%2Fbeer-sample%2Fdocs_written -u Administrator:password
{"samplesCount":60,"isPersistent":true,"lastTStamp":0,"interval":1000,"timestamp":[],"nodeStats":\{"10.143.181.102:8091":[]}}