---
title: "深度健康检查（实测依赖与资源）/ Deep health check (probes dependencies and resources)"
method: GET
path: "/api/v1/health/deep"
tags: ["Health-Check"]
---

# 深度健康检查（实测依赖与资源）/ Deep health check (probes dependencies and resources)

`GET /api/v1/health/deep`

## Request

- Base URL: `https://api.tikhub.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tikhub.io/api/v1/health/deep`
- Auth: none declared

# [中文]

### 用途说明:

- 深度健康检查：实测 MySQL / Redis 连通性与延迟、事件循环卡顿情况、
  数据库连接池占用、进程内存与文件描述符。
- 用于多节点监控定位"半死"节点（进程存活但依赖异常/事件循环被阻塞）。

### 返回结果:

- `status`: `ok` 或 `degraded`（任一关键依赖异常或事件循环当前被阻塞）。
- `checks.mysql` / `checks.redis`: 实测状态与延迟（毫秒）。
- `checks.event_loop`: 事件循环卡顿统计（当前延迟、阻塞次数、最长阻塞）。
- `checks.db_pool`: 数据库连接池占用。
- `checks.process`: 进程内存（MB）、线程数、文件描述符数量。

# [English]

### Purpose:

- Deep health check: probes MySQL / Redis connectivity and latency, event-loop
  blockage stats, DB pool occupancy, process memory and file descriptors.
- Useful for spotting "half-dead" nodes (process alive but dependencies failing
  or the event loop blocked).

## Response `200`

Successful Response

- unknown

## Changes

- **2026-09-01** `50f9ec6e1cd3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/tikhub/apis/tikhub-douyin-tiktok-xiaohongshu-lemon8-bilibili-kuaishou-pi/changes/api/v1/health/deep/get.md)

---

[API](https://skmtc.dev/tikhub/apis/tikhub-douyin-tiktok-xiaohongshu-lemon8-bilibili-kuaishou-pi.md) - [All operations](https://skmtc.dev/tikhub/apis/tikhub-douyin-tiktok-xiaohongshu-lemon8-bilibili-kuaishou-pi/llms.txt) - [OpenAPI document](https://skmtc.dev/tikhub/apis/tikhub-douyin-tiktok-xiaohongshu-lemon8-bilibili-kuaishou-pi/revisions/86a3483c705a?raw)
