Skip to content

Commit

Permalink
Updated content
Browse files Browse the repository at this point in the history
  • Loading branch information
RamanaReddy8801 committed Mar 20, 2024
1 parent b0fb656 commit dd225a8
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -46,7 +46,7 @@ cd /DOWNLOADED-FOLDER/
./prometheus --config.file=/tmp/ray/session_latest/metrics/prometheus/prometheus.yml
```

5. When Prometheus starts, it operates on port 9090. Navigate to the Prometheus web interface, select 'Status' and click on the desired target to view the Ray metrics endpoint URLs, as shown below:
5. When Prometheus starts, it operates on port 9090. Navigate to the Prometheus web interface, select `Status` and click on the desired target to view the Ray metrics endpoint URLs, as shown below:
`
http://YOUR_DOMAIN:64415/metrics, http://YOUR_DOMAIN:44217/metrics, http://YOUR_DOMAIN:44227/metrics
`
Expand All @@ -57,7 +57,7 @@ http://YOUR_DOMAIN:64415/metrics, http://YOUR_DOMAIN:44217/metrics, http://YOUR_
/etc/newrelic-infra/integrations.d
```

2. Add a snippet to your `nri-prometheus-config.yml` file that enables the agent to capture Druid data. Your configuration file should match our snippet in the [nri-prometheus](https://github.com/newrelic/nri-prometheus/blob/main/configs/nri-prometheus-config.yml.sample) repository:
2. Add a snippet to your `nri-prometheus-config.yml` file that enables the agent to capture Ray data. Your configuration file should match our snippet in the [nri-prometheus](https://github.com/newrelic/nri-prometheus/blob/main/configs/nri-prometheus-config.yml.sample) repository:
```yml
integrations:
- name: nri-prometheus
Expand Down Expand Up @@ -90,7 +90,7 @@ integrations:
```

## Forward Ray logs to New Relic [#Forward-log]
You can use our [log forwarding](https://docs.newrelic.com/docs/logs/forward-logs/forward-your-logs-using-infrastructure-agent/) to forward Druid logs to New Relic.
You can use our [log forwarding](https://docs.newrelic.com/docs/logs/forward-logs/forward-your-logs-using-infrastructure-agent/) to forward Ray logs to New Relic.
1. On Linux machines, your log file named `logging.yml` should be present in this path:
```shell
/etc/newrelic-infra/logging.d/
Expand Down Expand Up @@ -118,7 +118,7 @@ Before you can start reading your data, use the instructions in our [infrastruct
sudo systemctl restart newrelic-infra.service
```

## View your Ray metrics in New Relic [#view-data]
## Monitor your application [#view-data]

Once you've completed the setup above, you can view your metrics using our pre-built dashboard template named Ray. To access this dashboard:

Expand Down

0 comments on commit dd225a8

Please sign in to comment.