Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-6545

Return structured JSON for metrics on /rpcz debug page

    XMLWordPrintableJSON

Details

    • ghx-label-9

    Description

      We currently return histograms as human readable string on /rpcz, both for the rendered HTML version and for the JSON version returned by /rpcz?json. Instead, we should return the same JSON that we return for Impala's histograms on /metrics.

      "name": "rpc-method.backend.ImpalaInternalService.CancelQueryFInstances.call_duration",
      "description": "",
      "human_readable": "Count: 1, min / max: 0 / 0, 25th %-ile: 0, 50th %-ile: 0, 75th %-ile: 0, 90th %-ile: 0, 95th %-ile: 0, 99.9th %-ile: 0",
      "25th %-ile": 0,
      "50th %-ile": 0,
      "75th %-ile": 0,
      "90th %-ile": 0,
      "95th %-ile": 0,
      "99.9th %-ile": 0,
      "max": 0,
      "min": 0,
      "count": 1,
      "kind": "HISTOGRAM",
      "units": "TIME_MS"
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            lv Lars Volker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: