Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-1206

Meters don't record anything of value

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • core-10.0.6
    • None
    • None
    • None
    • 1

    Description

      When we create a new op we get the current time and then set a defer to run which is record time.Now() - start into the registered meter. This means that every duration recorded is near instant - gocbcore is callback operated so defer isn't going to work. Note, this doesn't impact gocb at all, metering gocb side is entirely performed by gocb and it does not register a meter with gocbcore.

      Attachments

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

        Activity

          People

            charles.dixon Charles Dixon
            charles.dixon Charles Dixon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty