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

Improve MetricsClient APIs

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: None
    • Labels:
      None
    • Rank:
      1|hzytxj:

      Description

      https://github.com/caskdata/cdap/pull/2787#discussion_r31349374

      "btw, maybe in separate PR, but I recommend have tags parameter before groupBys, primarily because tags are used much more frequently than groupBys. groupBys are often omitted."

      "Also, it seems weird to always require user to pass in a list of metrics (even though the user can simply do ImmutableList.of(theirMetric).
      I think its quite common to simply query for a single metric.
      (maybe I should've brought this comment up in previous PR)"

        Attachments

          Activity

            People

            • Assignee:
              shankar Shankar Selvam
              Reporter:
              alvin Alvin Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: