Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-10702

Java SDK MetricsLogger documentation does not match reality

    XMLWordPrintable

Details

    • DOC-2023-S17, DOC-2023-S18, DOC-2023-S19, DOC-2023-S20, DOC-2023-S21, DOC-2023-S22, DOC-2023-S23, DOC-2023-S24, DOC-2023-S25, DOC-2023-S26
    • 0

    Description

      In https://docs.couchbase.com/java-sdk/current/howtos/observability-metrics.html#the-default-loggingmeter:

       

      A possible report looks like this (prettified for better readability):
      {{{ ...
       "query":{
          "127.0.0.1":

      Unknown macro: {         "total_count"}

       },
       "kv":{
           "127.0.0.1":{
               "total_count":9414,
               ...}}
      Each report contains one object for each service that got used and is further separated on a per-node basis so they can be analyzed in isolation.

      However, the actual output does not have the per-node layer:

      {
          "operations": {
              "kv": {
                  "get": {
                      "total_count": 2,
                      "percentiles_us": {
                          "50.0": 67633.151,
                          "90.0": 1820327.935,
                          "99.0": 1820327.935,
                          "99.9": 1820327.935,
                          "100.0": 1820327.935
                      }
                  }
              },
              "views": {
                  "views": {
                      "total_count": 1,
                      "percentiles_us": {
                          "50.0": 616562.687,
                          "90.0": 616562.687,
                          "99.0": 616562.687,
                          "99.9": 616562.687,
                          "100.0": 616562.687
                      }
                  }
              }
          },
          "meta": {
              "emit_interval_s": 10
          }
      }
       

      Attachments

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

        Activity

          People

            richard.smedley Richard Smedley
            richard.eilbert Richard Eilbert (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty