diff --git a/doc/source/ray-metrics.rst b/doc/source/ray-metrics.rst index cac3308cf..3eec73516 100644 --- a/doc/source/ray-metrics.rst +++ b/doc/source/ray-metrics.rst @@ -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 `_. -:ref:`Custom Metrics APIs Package Reference ` \ No newline at end of file +:ref:`Custom Metrics APIs Package Reference `