Skip to content

Commit

Permalink
config/prometheus: add metrics exporter for workers
Browse files Browse the repository at this point in the history
  • Loading branch information
Christos Kotsis committed Aug 13, 2022
1 parent 017690a commit afa4849
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions config/prometheus/workersPodMonitor.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: ray-cluster-workers-metrics-exporter
namespace: ray
spec:
jobLabel: ray-workers
namespaceSelector:
matchNames:
- ray
selector:
matchLabels:
rayNodeType: worker
ray.io/node-type: worker
ray.io/is-ray-node: "yes"
podMetricsEndpoints:
- port: metrics
interval: 1m
scrapeTimeout: 10s
# - targetPort: 90001
# interval: 1m
# scrapeTimeout: 10s

0 comments on commit afa4849

Please sign in to comment.