Uploaded image for project: 'OpenShift Service Mesh'
  1. OpenShift Service Mesh
  2. OSSM-415

RFE: Support federating prometheus metrics through the monitoring instance of prometheus

XMLWordPrintable

    • Icon: Spike Spike
    • Resolution: Won't Do
    • Icon: Normal Normal
    • None
    • None
    • None
    • None

      Customers are looking to use the centralised prometheus for monitoring/alerting through the federation route, we need to evaluate this approach and see whether there are any issues.  One configuration we are aware of is

      apiVersion: monitoring.coreos.com/v1
      kind: ServiceMonitor
      metadata:
        name: istio-federation
        namespace: istio-system
      spec:
        selector:
          matchLabels:
            app: prometheus
        endpoints:
        - interval: 30s
          scrapeTimeout: 30s
          params:
            'match[]':
            - '{job="pilot"}'
            - '{job="envoy-stats"}'
          path: /federate
          targetPort: 9090
          honorLabels: true
          metricRelabelings:
          - sourceLabels: ["__name__"]
            regex: 'workload:(.*)'
            targetLabel: "__name__"
            action: replace
      

      Questions to be answered are:

      • What should the scope of this support be?
      • What features can we enable through prometheus federation?
      • Are there any conflicts/issues/bugs we need to address? (e.g. version mismatches?)
      • What is the difference to "Bring your own Prometheus (OSSM-1352)"?

      Timebox: 3 days

              Unassigned Unassigned
              kconner@redhat.com Kevin Conner (Inactive)
              Votes:
              8 Vote for this issue
              Watchers:
              14 Start watching this issue

                Created:
                Updated:
                Resolved: