16 lines
292 B
YAML
16 lines
292 B
YAML
apiVersion: monitoring.coreos.com/v1
|
|
kind: ServiceMonitor
|
|
metadata:
|
|
labels:
|
|
prometheus: k8s
|
|
name: prometheus-pushgateway
|
|
namespace: monitoring
|
|
spec:
|
|
endpoints:
|
|
- honorLabels: true
|
|
port: http
|
|
jobLabel: k8s-app
|
|
selector:
|
|
matchLabels:
|
|
app: prometheus-pushgateway
|