Skip to content

Instantly share code, notes, and snippets.

@alicek106
Created April 13, 2020 13:53
Show Gist options
  • Save alicek106/1e3cdc543a17ff0d2e5440c28a65aa3b to your computer and use it in GitHub Desktop.
Save alicek106/1e3cdc543a17ff0d2e5440c28a65aa3b to your computer and use it in GitHub Desktop.
istio-mesh-monitor.yaml
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: istio-mesh-monitor
namespace: default
labels:
app: monitoring
monitoring: istio-mesh
spec:
selector:
matchExpressions:
- {key: istio, operator: In, values: [mixer]}
namespaceSelector:
matchNames:
- istio-system
endpoints:
- port: prometheus
interval: 15s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment