Skip to content

Commit

Permalink
docs: update readme howto running example
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Glimcher <[email protected]>
  • Loading branch information
glimchb authored Jun 24, 2024
1 parent 1e00ed2 commit 2b7cdec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ curl --fail http://127.0.0.1:9091/api/v1/query?query=redfish_thermal_fans_readin

## Running example

- Make sure you run `rpc_http_proxy`, `spdk` and `ngnix` apps from above.
- Consider adjusting IP address in [telegraf.conf](https://github.com/opiproject/otel/blob/1e00ed289762f36fea65e16ace64611a3282be2d/config/telegraf.conf#L8) from `http://spdk:9009` to `http://localhost:9009`.
- Consider adjusting IP address in [telegraf.conf](https://github.com/opiproject/otel/blob/1e00ed289762f36fea65e16ace64611a3282be2d/config/telegraf.conf#L21) from `http://web:80/nginx_status` to `http://localhost:80/nginx_status`.

```text
$ docker run --rm --net=host -v $(pwd)/telegraf.conf:/etc/telegraf/telegraf.conf:ro telegraf:1.22
2022-03-29T18:47:11Z I! Using config file: /etc/telegraf/telegraf.conf
Expand Down

0 comments on commit 2b7cdec

Please sign in to comment.