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

SDK3: Timed out operations do not log Response Time Observability info

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Major
    • 2.0.0
    • None
    • None
    • None

    Description

      Required by the rubric:

      "If you make a request with an abnormally low timeout, do you see in the message returned with the error the requisite information from the Response Time Observability sdk-rfc?"

      I am using code:

      upsertResult, err := collection.Upsert("my-document", map[string]string{"name": "mike"}, &gocb.UpsertOptions{
         Timeout: 1,
      })
      fmt.Println(err)
       

      And just see "operation timed out" logged.

      It's possible this is a factor of my Go ignorance, and perhaps I'm meant to be casting it to a particular sort of error first?

      Attachments

        Issue Links

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

          Activity

            People

              charles.dixon Charles Dixon
              graham.pople Graham Pople
              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