Skip to content

Commit 2dee781

Browse files
authored
Added NGINX example load balancer of a gateway collector deployment (#5988)
Signed-off-by: Swapnil Kulkarni <[email protected]>
1 parent 0ac47f8 commit 2dee781

File tree

1 file changed

+5
-3
lines changed
  • content/en/docs/collector/deployment/gateway

1 file changed

+5
-3
lines changed

content/en/docs/collector/deployment/gateway/index.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ Let's have a look at such a case where we are using the load-balancing exporter:
4040

4141
### NGINX as an "out-of-the-box" load balancer
4242

43-
Assuming you have two collectors (`collector1` and `collector2`) configured and
44-
you want to load balance traffic across them using NGINX, you can use the
45-
following configuration:
43+
Assuming you have three collectors (`collector1`, `collector2`, and
44+
`collector3`) configured and you want to load balance traffic across them using
45+
NGINX, you can use the following configuration:
4646

4747
```nginx
4848
server {
@@ -77,11 +77,13 @@ server {
7777
upstream collector4317 {
7878
server collector1:4317;
7979
server collector2:4317;
80+
server collector3:4317;
8081
}
8182
8283
upstream collector4318 {
8384
server collector1:4318;
8485
server collector2:4318;
86+
server collector3:4318;
8587
}
8688
```
8789

0 commit comments

Comments
 (0)