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

cbcollect - Log partition level stats during cbcollect

    XMLWordPrintable

Details

    Description

      As a part of cbcollect, please log the partition level stats in couchbase.log for each index on a indexer node. The partition level stats can be retrieved using the following curl call:

      http://localhost:9102/api/v1/stats/<bucket_name>/<index_name>?partition=true

      Background:

      Partition level stats are aggregated and logged as a part of periodic stats (every one minute) in indexer.log. Logging them with out aggregation would flood the logs and we can lose valuable information at the time of debug. 

      However, these stats can help us to understand the distribution of data across partitions. Therefore, it seems a good idea to log them at the time of cbcollect in couchbase.log so that we do not flood the indexer logs but can get the data distribution across partitions.

      Attachments

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

        Activity

          I am not very sure if ns_server is the right component but couldn't get any component related to cbcollect. Hence, assigned it to ns_server

          varun.velamuri Varun Velamuri added a comment - I am not very sure if ns_server is the right component but couldn't get any component related to cbcollect. Hence, assigned it to ns_server

          FYI - cbcollect_info is owned by ns_server, but that's generally not an impediment to other teams adding their own bits and pieces to it, so long as there's oversight. Popped the assignee to "Automatic" for the official verdict

          James Flather James Flather added a comment - FYI - cbcollect_info is owned by ns_server, but that's generally not an impediment to other teams adding their own bits and pieces to it, so long as there's oversight. Popped the assignee to "Automatic" for the official verdict

          Build couchbase-server-6.5.0-3893 contains ns_server commit 5b763f4 with commit message:
          MB-34872: cbcollect_info - partition level indexer stats

          build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-3893 contains ns_server commit 5b763f4 with commit message: MB-34872 : cbcollect_info - partition level indexer stats

          Tested with 6.5.0-4169

          hemant.rajput Hemant Rajput added a comment - Tested with 6.5.0-4169

          People

            hemant.rajput Hemant Rajput
            varun.velamuri Varun Velamuri
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty