Uploaded image for project: 'Helm'
  1. Helm
  2. HELM-154

Introduce resourceFilter (similar to nodeFilter but for resources)

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: PM Datasource
    • Labels:

      Description

      On a support ticket, a customer asked about the possibility to filter Interface Resources by ifAlias, to facilitate the user experience on Grafana dashboard when interacting with custom panels based on variables.

      Currently, we have nodeFilter which allows you to pass an expression to "select" a sub-set of nodes.

      For resources, we only have nodeResources which returns a list of Resource IDs. This works but it is not a human readable information. It would be nice to be able to retrieve all the "string" properties for a given resource and choose which to show on the drop-down box, or maybe use the "Resource Label" for this purpose.

      This is why I believe that creating a new method called resourceFilter makes sense, not only to return a map (resourceId vs the chosen element for the label), but also to filter the resources to display.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              agalue Alejandro Galue
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration