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

stats_archives.json can be generated as invalid JSON

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.5.0, 6.0.0
    • 5.0.1, 5.1.3
    • ns_server
    • None
    • Untriaged
    • Unknown

    Description

      There have been examples where stats_archives.json has been generated as invalid json, this means it is not usable to parse out stats.

      Specifically, this is because extra brackets are added between the different 'zooms', for example:

        {
          "year": {
            "status": "ok",
            "samples": [
            
            ...
       
           ]
          }
        },
        {
          "minute": {
            "status": "ok",
            "samples": [
      ...
      

      Attachments

        Activity

          People

            Aliaksey Artamonau Aliaksey Artamonau (Inactive)
            matt.carabine Matt Carabine (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty