Skip to content

Commit

Permalink
chore(policies) change mads port (#314)
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
  • Loading branch information
jakubdyszkiewicz authored Nov 17, 2020
1 parent a3173da commit eae951d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/0.7.3/policies/traffic-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,11 @@ First, you need to run `kuma-prometheus-sd`, e.g. by using the following command

```shell
kuma-prometheus-sd run \
--cp-address=http://kuma-control-plane.internal:5681 \
--cp-address=http://kuma-control-plane.internal:5676 \
--output-file=/var/run/kuma-prometheus-sd/kuma.file_sd.json
```

The above configuration tells `kuma-prometheus-sd` to talk to `Kuma` Control Plane at [http://kuma-control-plane.internal:5681](http://kuma-control-plane.internal:5681) and save the list of dataplanes to `/var/run/kuma-prometheus-sd/kuma.file_sd.json`.
The above configuration tells `kuma-prometheus-sd` to talk to `Kuma` Control Plane at [http://kuma-control-plane.internal:5676](http://kuma-control-plane.internal:5676) and save the list of dataplanes to `/var/run/kuma-prometheus-sd/kuma.file_sd.json`.

Then, you need to set up `Prometheus` to read from that file, e.g. by using `prometheus.yml` config with the following contents:

Expand Down

0 comments on commit eae951d

Please sign in to comment.