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

JSON Pretty Format Completed Requests in cbcollect_info

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Trivial
    • backlog
    • 7.0.4, 7.1.1
    • tools
    • None
    • 1

    Description

      In 7.0+, the system:completed_requests catalogue is collected as part of a cbcollect_info log collection by default for Query Service nodes. This is collected to completed_requests.json.

      This file doesn't have JSON indentation which makes it difficult to read at a glance. Only a small factor, but it would make it easier to review this file if it were converted to pretty JSON format as part of the log collection (ie. the file is given JSON indentation). 

      This would prevent us from needing to do something like the following after unzipping a cbcollect_info log archive to get this file in a more readable format:

      jq . completed_requests.json > completed_requests.txt
      

       

       

      Attachments

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

        Activity

          People

            owend Daniel Owen
            callum.majumdar Callum Majumdar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty