mirror of
https://github.com/wassname/ray.git
synced 2026-07-05 22:36:53 +08:00
[Metrics] Fix prometheus configuration doc (#11856)
This commit is contained in:
@@ -37,11 +37,11 @@ Let's modify Prometheus's config file to scrape metrics from Prometheus endpoint
|
||||
|
||||
# prometheus.yml
|
||||
global:
|
||||
scrape_interval: 5s
|
||||
evaluation_interval: 5s
|
||||
scrape_interval: 5s
|
||||
evaluation_interval: 5s
|
||||
|
||||
scrape_configs:
|
||||
- job_name: prometheus
|
||||
- job_name: prometheus
|
||||
static_configs:
|
||||
- targets: ['localhost:8080'] # This must be same as metrics_export_port
|
||||
|
||||
@@ -159,4 +159,4 @@ Ray supports custom metrics APIs to enable developers to have visibility to thei
|
||||
|
||||
It current supports 3 metric types. All metric types have the same definition as `Prometheus metric types <https://prometheus.io/docs/concepts/metric_types/>`_.
|
||||
|
||||
:ref:`Custom Metrics APIs Package Reference <custom-metric-api-ref>`
|
||||
:ref:`Custom Metrics APIs Package Reference <custom-metric-api-ref>`
|
||||
|
||||
Reference in New Issue
Block a user