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

47 lines
1.7 KiB
Markdown

---
description: Learn how to monitor your DTR installation.
keywords: docker, registry, monitor, troubleshoot
title: Monitor Docker Trusted Registry
---
Docker Trusted Registry is a Dockerized application. To monitor it, you can
use the same tools and techniques you're already using to monitor other
containerized applications running on your cluster. One way to monitor
DTR is using the monitoring capabilities of Docker Universal Control Plane.
In your browser, log in to **Docker Universal Control Plane** (UCP), and
navigate to the **Applications** page.
To make it easier to find DTR, use the search box to **search for the
DTR application**. If you have DTR set up for high-availability, then all the
DTR nodes are displayed.
![](../images/monitor-1.png)
**Click on the DTR application** to see all of its containers, and if they're
running. **Click on a container** to see its details, like configurations,
resources, and logs.
![](../images/monitor-2.png)
## Health checks
DTR also exposes several endpoints you can use to assess if a DTR replica
is healthy or not:
* `/health`: Checks if the several components of a DTR replica are healthy, and
returns a simple json response. This is useful for load balancing or other
automated health check tasks.
* `/load_balancer_status`: Checks if the several components of a DTR replica
can be reached, and displays that information in a table. This is useful for
an administrator to gauge the status of a DTR replica.
* `/nginx_status`: Returns the number of connections being handled by the
NGINX front-end used by DTR.
* `/api/v0/meta/cluster_status`: Returns extensive information about all DTR
replicas.
## Where to go next
* [Troubleshoot DTR](troubleshoot.md)
* [DTR architecture](../architecture.md)