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

Fetching single definition does not work for metrics without tags

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 0.3.4
    • Fix Version/s: 0.5.0
    • Component/s: Core
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      1. Create metric with just id
      2. Try to fetch it with GET /

      {type}

      /

      {id}

      3. The output is empty, unlike when requesting metrics?type=gauge which returns the id + tenant information.

      Show
      1. Create metric with just id 2. Try to fetch it with GET / {type} / {id} 3. The output is empty, unlike when requesting metrics?type=gauge which returns the id + tenant information.

      Description

      If single definition is requested and the registered metrics has no tags, the fetching fails (it returns 204 instead of information). With the tags this feature works correctly.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                burmanm Michael Burman
                Reporter:
                burmanm Michael Burman
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: