Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-7913

ServiceMonitor for 3scale operator has wide selector

XMLWordPrintable

    • False
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Hide
      1. Install prometheus and grafana operators to new namespace (as monitoring section in documentation require)
      2. install 3scale operator
      3. create APIManager object with monitoring>enabled:true
      4. Create Prometheus* and Grafana objects as described in documentation

      In prometheus Status > Targets There are 4 endpoints for serviceMonitor/NS/threescale-operator-controller-manager-metrics-monitor/0 two of them with label job="grafana-operator-controller-manager-metrics-service"

      Show
      Install prometheus and grafana operators to new namespace (as monitoring section in documentation require) install 3scale operator create APIManager object with monitoring>enabled:true Create Prometheus* and Grafana objects as described in documentation In prometheus Status > Targets There are 4 endpoints for serviceMonitor/NS/threescale-operator-controller-manager-metrics-monitor/0 two of them with label job="grafana-operator-controller-manager-metrics-service"

      ServiceMonitor threescale-operator-controller-manager-metrics-monitor has wide selector witch matches service of prometheus operator

      selector used:

      matchLabels:
        control-plane: controller-manager

              Unassigned Unassigned
              mdujava@redhat.com Matej Dujava
              Matej Dujava Matej Dujava
              Eguzki Astiz Lezaun Eguzki Astiz Lezaun
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: