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

Metrics query docs are inaccurate/incomplete

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.8.0
    • Component/s: Docs, Metrics
    • Labels:
      None
    • Rank:
      1|hzyppz:

      Description

      Several issues with the docs for querying metrics:

      1. we document start=<time>&end=<time>, but in some examples we use &count instead of &end. That should also be documented
      2. for resolution, we document that resolution=[1 | 60 | 3600 | auto], but none of these work. What works is 1s, 60s, 1m, 1h, etc.
      3. for resolution auto, it states that the resolution is 1 hour if the time range is >= 3610s, and 1 minute if the time range is >= 610 seconds. That is not intuitive. Shouldn't it be 1 minute is the range is > 1hour, and 1 hours if the range is > 10h?

        Attachments

          Activity

            People

            • Assignee:
              shankar Shankar Selvam
              Reporter:
              andreas Andreas Neumann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: