# 管理 API

Alertmanager 提供了一组管理API，以简化自动化和集成。

## 健康检查 <a href="#health-check" id="health-check"></a>

```
GET /-/healthy
```

该端点始终返回200，应用于检查 Alertmanager 的运行状况。

## 就绪状态检查 <a href="#readiness-check" id="readiness-check"></a>

```
GET /-/ready
```

当 Alertmanager 准备服务流量(即响应查询)时，此端点返回200

## 重载配置文件 <a href="#reload" id="reload"></a>

```
POST /-/reload
```

该端点触发 Alertmanager 重新加载配置文件

触发配置重新加载的另一种方法是向 Alertmanager 进程发送一个`SIGHUP`信号。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hulining.gitbook.io/prometheus/alerting/management_api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
