Skip to content

Commit

Permalink
updated few changes
Browse files Browse the repository at this point in the history
  • Loading branch information
RamanaReddy8801 committed Oct 31, 2023
1 parent 25905ac commit 21cfb70
Showing 1 changed file with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,22 +69,21 @@ tar -xvzf <filename.tar.gz>
```shell
cd /DOWNLOADED-FOLDER/
```
5. Open your `Prometheus.yml` file and add the following lines:
5. Open your `prometheus.yml` file and add the following lines:
```yml
---
scrape_configs:
- job_name: NVIDI
static_configs:
- targets:['localhost:9400']
---
scrape_configs:
- job_name: NVIDI
static_configs:
- targets:['localhost:9400']
```
6. Start Prometheus:
```shell
./prometheus --config.file=prometheus.yml
```

## Configure Prometheus remote write for NVIDIA-DCGM [#configure-remote-write]
Set up Prometheus monitoring. Prometheus metrics needs to be integrated with New Relic, you can use the Remote Write integration by following [Prometheus remote write setup launcher in the UI](https://one.newrelic.com/catalog-pack-details?state=04de330d-ad8b-b61c-68e2-ad852c2ca1d4).

## Install Prometheus remote write agent for NVIDIA-DCGM [#install-remote-write]
After setting up Prometheus configuration, you have to send NVIDIA DCGM metrics to Prometheus. Later, to integrate Prometheus metrics with New Relic, you can leverage the Prometheus remote write agent. Simply follow the [Prometheus remote write setup launcher in the UI](https://one.newrelic.com/catalog-pack-details?state=04de330d-ad8b-b61c-68e2-ad852c2ca1d4).


## Restart the New Relic infrastructure agent [#restart-infra-agent]
Expand Down

0 comments on commit 21cfb70

Please sign in to comment.