Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-2900

LoggingMeter does not include percentile values

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.7
    • 3.2.0
    • None
    • 1

    Description

      The LoggingMeter on master does include a total count, but the values of the percentiles are all 0.

      info: Couchbase.Core.Diagnostics.Metrics.LoggingMeter[0]
            {
              "meta": {
                "emit_interval_s": 10000.0
              },
              "kv": {
                "127.0.0.1:11210": {
                  "total_count": 97634,
                  "percentiles_us": {
                    "75.0": 0.0,
                    "95.0": 0.0,
                    "98.0": 0.0,
                    "99.9": 0.0,
                    "100.00": 0.0
                  }
                }
              }
            }
      

      Also, note how 100 has two decimal points while the others have one.

      Attachments

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

        Activity

          daschl Michael Nitschinger created issue -

          Okay, this is very interesting. This seems to be somehow connected with the threshold logging tracer. By default it is set to not enabled right now, and in this case all the percentiles are 0.

          But when I turn on the threshold logging tracer like this:

                      var to = new ThresholdOptions();
                      to.Enabled = true;
          

          then suddenly metric percentiles are reported:

          info: Couchbase.Core.Diagnostics.Metrics.LoggingMeter[0]
                {
                  "meta": {
                    "emit_interval_s": 10000.0
                  },
                  "kv": {
                    "127.0.0.1:11210": {
                      "total_count": 72032,
                      "percentiles_us": {
                        "75.0": 12.0,
                        "95.0": 17.0,
                        "98.0": 26.0,
                        "99.9": 68.3630000000003,
                        "100.00": 69.0
                      }
                    }
                  }
                }
          

          daschl Michael Nitschinger added a comment - Okay, this is very interesting. This seems to be somehow connected with the threshold logging tracer. By default it is set to not enabled right now, and in this case all the percentiles are 0. But when I turn on the threshold logging tracer like this: var to = new ThresholdOptions(); to.Enabled = true; then suddenly metric percentiles are reported: info: Couchbase.Core.Diagnostics.Metrics.LoggingMeter[0] { "meta": { "emit_interval_s": 10000.0 }, "kv": { "127.0.0.1:11210": { "total_count": 72032, "percentiles_us": { "75.0": 12.0, "95.0": 17.0, "98.0": 26.0, "99.9": 68.3630000000003, "100.00": 69.0 } } } }
          jmorris Jeff Morris made changes -
          Field Original Value New Value
          Fix Version/s 3.2.0 [ 17248 ]
          Affects Version/s 3.1.7 [ 17603 ]
          Labels tracing
          jmorris Jeff Morris made changes -
          Status New [ 10003 ] Open [ 1 ]
          jmorris Jeff Morris made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]

          People

            jmorris Jeff Morris
            daschl Michael Nitschinger
            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