mirror of https://github.com/prometheus/prometheus
18 lines
294 B
YAML
18 lines
294 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: rabbitmq
|
||
|
labels:
|
||
|
name: rabbitmq
|
||
|
annotations:
|
||
|
prometheus.io/scrape: "true"
|
||
|
prometheus.io/port: "9090"
|
||
|
spec:
|
||
|
ports:
|
||
|
- port: 9090
|
||
|
name: exporter
|
||
|
targetPort: exporter
|
||
|
protocol: TCP
|
||
|
selector:
|
||
|
app: rabbitmq
|