Issue: Metrics are not visible in Kiali dashboard when integrating with User-Workload-Monitoring.
How to reproduce:
- Create new project for service mesh control plane. // oc new-project istio-system
- Install the Operators required for OpenShift Service Mesh installation.
- Configure the SMCP as follows:
apiVersion: maistra.io/v2 kind: ServiceMeshControlPlane metadata: name: basic namespace: istio-system spec: addons: prometheus: enabled: false grafana: enabled: false kiali: name: kiali-user-workload-monitoring meshConfig: extensionProviders: - name: prometheus prometheus: {}
- Create new project bookinfo // oc new-project bookinfo
- Configure SMMR as follows:
apiVersion: maistra.io/v1 kind: ServiceMeshMemberRoll metadata: name: default namespace: istio-system spec: members: - bookinfo
- Deploy bookinfo application by following this doc
- Enable User-workload-monitoring by following this doc
- Follow the steps as mentioned in this doc
- NOTE: While creating kind: Kiali CR ensure to add spec.version: v1.73
- After all the above steps are configured run the following:
- ROUTE=`oc get route istio-ingressgateway -n istio-system -o jsonpath='{.spec.host}'`
- for i in `seq 1 10`; do curl -I $ROUTE/productpage;done
- Visit Kiali route that and check Kiali route --> Applications --> istio-ingressgateway --> Inbound Metrics / Outbound Metrics
oc get csv -n openshift-operators NAME DISPLAY VERSION REPLACES PHASE elasticsearch-operator.v5.8.12 OpenShift Elasticsearch Operator 5.8.12 elasticsearch-operator.v5.8.11 Succeeded jaeger-operator.v1.57.0-10 Red Hat OpenShift distributed tracing platform 1.57.0-10 jaeger-operator.v1.57.0-7 Succeeded kiali-operator.v1.89.1 Kiali Operator 1.89.1 kiali-operator.v1.73.10 Succeeded servicemeshoperator.v2.6.1 Red Hat OpenShift Service Mesh 2.6.1-0 servicemeshoperator.v2.6.0 Succeeded tempo-operator.v0.13.0-1 Tempo Operator 0.13.0-1 tempo-operator.v0.10.0-8 Succeeded
Expectation:
Metrics should be seen.
What is observed ?
Metrics is not loaded.