Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-11346

Metrics query cannot get correct results if we provide multiple groupBy

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.1.1
    • Fix Version/s: None
    • Component/s: Metrics
    • Labels:
      None
    • Rank:
      1|i000jr:

      Description

      The metrics query fails to get a completed result when multiple groupBy are provided. The query will only return result corresponding to one element in the list.
      To reproduce:
      1. Deploy HelloWorld app, run the flow and service
      2. Run the following query: curl -v -X POST "<hostname>:11015/v3/metrics/query?metric=system.app.log.warn&metric=system.app.log.info&metric=system.app.log.error&metric=system.app.log.debug&tag=ns:default&tag=app:HelloWorld&groupBy=service&groupBy=flow" | python -mjson.tool

      The query will only return log metrics related to flow.

        Attachments

          Activity

            People

            • Assignee:
              shankar Shankar Selvam
              Reporter:
              yaojie Yaojie Feng
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: