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

Query for the available values contained in a tag

    Details

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

      Description

      If might be nice to be able to get back the set of unique values that are contained within metrics for a particular tag.

      For example, say I am monitoring a bunch of metrics from various servers and I am storing the server's hostname in each of the metrics under a tag called 'hostname'.

      Now, in my UI I want to know what hostnames are available to be monitored, and then later on do a query only to get the metrics for one particular hostname.

      So after my query, I would expect something like

      {hostname: ['host.A', ;host.B', 'host.C', 'host.D']}

      From this point I could then query for all the metrics for the one particular host I want to inspect.

      Currently we could download all the metrics which contain the tag hostname and then on the client side compute the set, but we don't want to be downloading such a large json document when we potentially only need a small subset.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: