Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-12998

haveTStamp param not Working as Expected in stats REST Call

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • 3.0
    • RESTful-APIs
    • Security Level: Public
    • Untriaged
    • Unknown

    Description

      When changing the haveTStamp parameter, it seems to still include the previous hour regardless. The following two calls return the same value for Samples (900) and Interval (1000) in the response

      curl -u Administrator:password 'http://x.x.x.x:8091/pools/default/buckets/mytest/stats?haveTStamp=1398719175&zoom=hour'

      curl -u Administrator:password 'http://x.x.x.x:8091/pools/default/buckets/mytest/stats?haveTStamp=1398720610&zoom=hour'

      A customer might want to capture statistic information over the last 5 minutes, for example.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ruth Ruth Harris (Inactive)
            jdillon Jeff Dillon (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty