Skip to content

Commit

Permalink
[Feature][Observability] Scrape Autoscaler and Dashboard metrics (#1493
Browse files Browse the repository at this point in the history
…) (#1533)
  • Loading branch information
kevin85421 authored Oct 17, 2023
1 parent 420cb9b commit 8e16bfe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/prometheus/serviceMonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ spec:
# A list of endpoints allowed as part of this ServiceMonitor.
endpoints:
- port: metrics
- port: as-metrics # autoscaler metrics
- port: dash-metrics # dashboard metrics
targetLabels:
- ray.io/cluster

6 changes: 6 additions & 0 deletions ray-operator/config/samples/ray-cluster.embed-grafana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ spec:
name: dashboard
- containerPort: 10001
name: client
# The name of a containerPort cannot be longer than 15 characters.
# Hence, we use the name "as-metrics" instead of "autoscaler-metrics".
- containerPort: 44217
name: as-metrics # autoscaler
- containerPort: 44227
name: dash-metrics # dashboard
lifecycle:
preStop:
exec:
Expand Down

0 comments on commit 8e16bfe

Please sign in to comment.