Skip to content

Commit

Permalink
updated yml format
Browse files Browse the repository at this point in the history
  • Loading branch information
RamanaReddy8801 committed Oct 30, 2023
1 parent 3a64da4 commit 05ddead
Showing 1 changed file with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ cd <download folder>
```
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 the Prometheus using the below command
```shell
Expand All @@ -90,9 +90,10 @@ Using the Prometheus Remote Write integration, you can point your Prometheus ser
2. On clicking the "save" button, you should see a code snippet with `remote_write` configuration. It looks like below

```yml
remote_write:
- url: https://metric-api.newrelic.com/prometheus/v1/write?prometheus_server=NVIDIA
bearer_token: 51688d472b5af64a8331801ff621baa8226aNRAL
---
remote_write:
- url: https://metric-api.newrelic.com/prometheus/v1/write?prometheus_server=NVIDIA
bearer_token: 51688d472b5af64a8331801ff621baa8226aNRAL
```
3. Add this remote_write URL to your main Prometheus configuration file.
4. Reload or restart your Prometheus server
Expand Down

0 comments on commit 05ddead

Please sign in to comment.