mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-18 03:24:05 -08:00
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
|