Uploaded image for project: 'Hawkular Metrics'
  1. Hawkular Metrics
  2. HWKMETRICS-57

Create separate endpoints for raw and stats data

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 0.15.0
    • Component/s: None
    • Labels:
      None

      Description

      The endpoint currently returns two entirely different JSONs depending on whether or not buckets/duration param is present

      Without buckets param

      [{"timestamp":1428422247003,"value":0.7261562959925826}]

      With buckets param

      [{
      "start":1428407847614,
      "end":1428436647614,
      "value":"NaN",
      "min":0.7261562959925826,
      "avg":0.7261562959925826,
      "median":0.7261562959925826,
      "max":0.7261562959925826,
      "percentile95th":0.7261562959925826,
      "empty":false}]
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  nstefan Stefan Negrea
                  Reporter:
                  vietn viet nguyen
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: