You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Adapted from https://github.com/istio/istio/blob/master/manifests/charts/istio-telemetry/prometheusOperator/templates/servicemonitors.yaml
# Note that namespace and commonLabels must be added by a kustomize base like ../base-label-prometheus-now/
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: istio-ingressgateway
spec:
jobLabel: app
namespaceSelector:
# TODO didn't show up in Prometheus with false here and namespace=istio-system
any: true
selector:
matchLabels:
app: istio-ingressgateway
podMetricsEndpoints:
- path: /stats/prometheus
targetPort: 15090 # This field is deprecated but the deployment doesn't name its ports