Below is the deployment and application annotations
oc get deploy auditlogger -oyaml |grep -i prometheus
prometheus.io/path: /metrics
prometheus.io/port: "8180"
prometheus.io/scrape: "true"
oc get pods auditlogger-###### -oyaml|grep -i promet
prometheus.io/path: /stats/prometheus
prometheus.io/port: "15020"
prometheus.io/scrape: "true"
- name: ISTIO_PROMETHEUS_ANNOTATIONS
DX O2
There is an issue with configMap for istio matcher rules. In order to see the metrics follow the below steps.
Wait for a minute or so, for the new annotations to pick up. Once the new annotations are read, users will be able to visualise the metrics. Below is the sample metric path
<k8s_cluster_name>|<k8s_namespace_name>|<k8s_owner_name>|<type>|<k8s_pod_name>