Uploaded image for project: 'Network Observability'
  1. Network Observability
  2. NETOBSERV-1689

Allow multi-tenant Prometheus queries

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • NetObserv - Sprint 255, NetObserv - Sprint 256, NetObserv - Sprint 257, NetObserv - Sprint 258

      From the dev console, when netobserv view is tied to a namespace, a different thanos endpoint must be used: thanos-querier on port 9092 provides access to metrics restricted to a particular namespace.

      We will implement a temporary(?) workaround to avoid waiting for NETOBSERV-1701 : by duplicating the "SrcK8S_Namespace" label (or dst equivalent) into a label named just "namespace", we'll make it work out of the box without change in the monitoring stack. But this would be an incomplete workaround, because we need to choose (by design) querying either for source or for destination namespaces, hence missing part of the traffic.

      Ingress metrics would use dest namespace as "namespace" label, and Egress metrics would use source namespace as "namespace", using relabelling rules

       

              jpinsonn@redhat.com Julien Pinsonneau
              jtakvori Joel Takvorian
              Amogh Rameshappa Devapura Amogh Rameshappa Devapura
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: