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

Expose verbose dcp stats outside of cbcollect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 6.6.2, Cheshire-Cat
    • couchbase-bucket
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      cbcollectinfo contains a lot of useful DCP stats as the example below shows. During the investigation of MB-46482, we identified how observing some of these stats could provide early-signs of the issue. Unfortunately this information is not readily available via cbstats. They currently require a privileged stats call only available during cbcollect.

      This MB is to request that these stats about the DCP connection states scan be made available to "regular" (i.e. non-cbcollect) cbstats calls with appropriate RBAC privileges.

       eq_dcpq:replication:ns_1@10.0.1.100->ns_1@10.0.3.100:tmp:force_value_compression:                  0
       eq_dcpq:replication:ns_1@10.0.1.100->ns_1@10.0.3.100:tmp:items_remaining:                          0
       eq_dcpq:replication:ns_1@10.0.1.100->ns_1@10.0.3.100:tmp:items_sent:                               3793500
       eq_dcpq:replication:ns_1@10.0.1.100->ns_1@10.0.3.100:tmp:last_receive_time:                        15561326
       eq_dcpq:replication:ns_1@10.0.1.100->ns_1@10.0.3.100:tmp:last_sent_time:                           15561326
       eq_dcpq:replication:ns_1@10.0.1.100->ns_1@10.0.3.100:tmp:max_buffer_bytes:                         10485760
       eq_dcpq:replication:ns_1@10.0.1.100->ns_1@10.0.3.100:tmp:noop_enabled:                             1
       eq_dcpq:replication:ns_1@10.0.1.100->ns_1@10.0.3.100:tmp:noop_wait:                                0
       eq_dcpq:replication:ns_1@10.0.1.100->ns_1@10.0.3.100:tmp:num_streams:                              38
       eq_dcpq:replication:ns_1@10.0.1.100->ns_1@10.0.3.100:tmp:paused:                                   true
       eq_dcpq:replication:ns_1@10.0.1.100->ns_1@10.0.3.100:tmp:paused_reason:                            PausedReason::ReadyListEmpty
       eq_dcpq:replication:ns_1@10.0.1.100->ns_1@10.0.3.100:tmp:pending_disconnect:                       false
      

      Attachments

        Issue Links

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

          Activity

            People

              dhaikney David Haikney (Inactive)
              dhaikney David Haikney (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty