Uploaded image for project: 'Observability and Data Analysis Program'
  1. Observability and Data Analysis Program
  2. OBSDA-496

Enrich Kepler exporter data with labels of the pod

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • OBSDA-731Power monitoring GA Release Tracker

      Proposed title of this feature request

      Kepler and Kubernetes Pod Labels

      What is the nature and description of the request?

      In discussions with customers on the use of Kepler they have highlighted that they use namespace labels to assign / tag namespaces to create reporting based on Lines of business or application teams. Kepler exporter does not provide label information and having discussed with hchen1@redhat.com Kepler would not be enhanced to provide this info and his recommendation was for Kepler data to be enriched in Prometheus

      Why does the customer need this? (List the business requirements)

      To enable reporting of Kepler energy data at a more granular level e.g. LoB, application team rather than just namespace. E.g. provide a report on energy consumption for all namespaces / across all clusters that a LoB or application team owns. 

      List any affected packages or components.

      OpenShift Monitoring / Kepler (Power Management for OpenShift)

      • Definition of Done
      • kepler accepts a list of labels to be collected for pods.
      • The label, and value would be added to the metrics produced for container along with the pod_name
        E.g. A pod named "abc" with label foo=bar will have kepler_container_package_joules_total { ..., pod_name="abc", foo="bar" }

        if kepler is invoked as kepler --k8s.pod.labels=foo

              rh-ee-rfloren Roger Florén
              adhammon@redhat.com Adrian Hammond (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: