Skip to content

Commit

Permalink
Fix netdata broken links in es page (#1369)
Browse files Browse the repository at this point in the history
  • Loading branch information
heitortsergent authored Oct 11, 2023
1 parent 9fefc0a commit 3219c4a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Alternatively, you can read more about installing and running Netdata in our [do

## Setup Netdata for K6

Netdata runs a fully functional [StatsD](https://learn.netdata.cloud/docs/agent/collectors/statsd.plugin) server by default and we have included a default configuration file for k6 metrics.
Netdata runs a fully functional [StatsD](https://github.com/netdata/netdata/blob/master/collectors/statsd.plugin/README.md) server by default and we have included a default configuration file for k6 metrics.

## Run the k6 test

Expand All @@ -28,12 +28,12 @@ k6 run --out output-statsd script.js
```

**Caveat**: By default, Netdata binds the StatsD server to `localhost`. That means that if Netdata and K6 are in different hosts, you will need to edit the configuration file of Netdata.
1. Visit [StatsD documentation](https://learn.netdata.cloud/docs/agent/collectors/statsd.plugin) for a reference on the configuration options. We are interested in `#bind to` option.
1. Visit [StatsD documentation](https://github.com/netdata/netdata/blob/master/collectors/statsd.plugin/README.md) for a reference on the configuration options. We are interested in `#bind to` option.
2. Use `sudo ./edit-config netdata.conf` from inside the directory where Netdata stores it's configuration files (e.g `/etc/netdata/`) and add `bind to=udp:0.0.0.0:8125`.

## Visualize in Netdata

Netdata will automatically create charts for your application, as illustrated in the [documentation](https://learn.netdata.cloud/docs/agent/collectors/statsd.plugin/k6).
Netdata will automatically create charts for your application, as illustrated in the [documentation](https://github.com/netdata/netdata/blob/master/collectors/statsd.plugin/k6.md).

Simply head over to `localhost:19999` (assuming that you are running Netdata on the same machine) and find the K6 section. If you had opened Netdata before running the experiment, you will need to refresh the dashboard page.

Expand Down

0 comments on commit 3219c4a

Please sign in to comment.