Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c8c05e6

Browse files
author
Joao Fernandes
committed
Add more information about DTR healthchecks
1 parent cb8154c commit c8c05e6

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

datacenter/dtr/2.1/guides/high-availability/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Make sure you configure your load balancer to:
7474

7575
* Load-balance TCP traffic on ports 80 and 443,
7676
* Not terminate HTTPS connections,
77-
* Use the `/load_balancer_status` endpoint on each DTR replica, to check if
77+
* Use the `/health` endpoint on each DTR replica, to check if
7878
the replica is healthy and if it should remain on the load balancing pool or
7979
not.
8080

datacenter/dtr/2.1/guides/monitor-troubleshoot/index.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,21 @@ resources, and logs.
2525

2626
![](../images/monitor-2.png)
2727

28+
## Health checks
29+
30+
DTR also exposes several endpoints you can use to assess if a DTR replica
31+
is healthy or not:
32+
33+
* `/health`: Checks if the several components of a DTR replica are healthy, and
34+
returns a simple json response. This is useful for load balancing or other
35+
automated health check tasks.
36+
* `/load_balancer_status`: Checks if the several components of a DTR replica
37+
can be reached, and displays that information in a table. This is useful for
38+
an administrator to gauge the status of a DTR replica.
39+
* `/nginx_status`: Returns the number of connections being handled by the
40+
NGINX front-end used by DTR.
41+
* `/api/v0/meta/cluster_status`: Returns extensive information about all DTR
42+
replicas.
2843

2944
## Where to go next
3045

0 commit comments

Comments
 (0)