A.20. Prometheus
				方法引用,使用 Ceph RESTful API prometheus 端点管理 Prometheus。
			
GET /api/prometheus- 示例
 GET /api/prometheus/rules HTTP/1.1 Host: example.com
GET /api/prometheus/rules HTTP/1.1 Host: example.comCopy to Clipboard Copied! Toggle word wrap Toggle overflow - 状态代码
 - 200 OK - 确定。
 - 400 Bad Request – Operation exception.请检查响应正文以了解详细信息。
 - 401 未授权 - 未经验证的访问.请先登录。
 - 403 Forbidden – Unauthorized access.请检查您的权限。
 - 500 Internal Server Error – 意外错误。请检查堆栈追踪的响应正文。
 
GET /api/prometheus/rules- 示例
 GET /api/prometheus/rules HTTP/1.1 Host: example.com
GET /api/prometheus/rules HTTP/1.1 Host: example.comCopy to Clipboard Copied! Toggle word wrap Toggle overflow - 状态代码
 - 200 OK - 确定。
 - 400 Bad Request – Operation exception.请检查响应正文以了解详细信息。
 - 401 未授权 - 未经验证的访问.请先登录。
 - 403 Forbidden – Unauthorized access.请检查您的权限。
 - 500 Internal Server Error – 意外错误。请检查堆栈追踪的响应正文。
 
POST /api/prometheus/silence- 状态代码
 - 201 created - 资源已创建。
 - 202 accepted - 操作仍在执行。请检查任务队列。
 - 400 Bad Request – Operation exception.请检查响应正文以了解详细信息。
 - 401 未授权 - 未经验证的访问.请先登录。
 - 403 Forbidden – Unauthorized access.请检查您的权限。
 - 500 Internal Server Error – 意外错误。请检查堆栈追踪的响应正文。
 
DELETE /api/prometheus/silence/S_ID- 参数
 - 
												使用字符串值替换 
S_ID。 
- 
												使用字符串值替换 
 - 状态代码
 - 202 accepted - 操作仍在执行。请检查任务队列。
 - 204 No Content – Resource deleted.
 - 400 Bad Request – Operation exception.请检查响应正文以了解详细信息。
 - 401 未授权 - 未经验证的访问.请先登录。
 - 403 Forbidden – Unauthorized access.请检查您的权限。
 - 500 Internal Server Error – 意外错误。请检查堆栈追踪的响应正文。
 
GET /api/prometheus/silences- 示例
 GET /api/prometheus/silences HTTP/1.1 Host: example.com
GET /api/prometheus/silences HTTP/1.1 Host: example.comCopy to Clipboard Copied! Toggle word wrap Toggle overflow - 状态代码
 - 200 OK - 确定。
 - 400 Bad Request – Operation exception.请检查响应正文以了解详细信息。
 - 401 未授权 - 未经验证的访问.请先登录。
 - 403 Forbidden – Unauthorized access.请检查您的权限。
 - 500 Internal Server Error – 意外错误。请检查堆栈追踪的响应正文。
 
GET /api/prometheus/notifications- 示例
 GET /api/prometheus/notifications HTTP/1.1 Host: example.com
GET /api/prometheus/notifications HTTP/1.1 Host: example.comCopy to Clipboard Copied! Toggle word wrap Toggle overflow - 状态代码
 - 200 OK - 确定。
 - 400 Bad Request – Operation exception.请检查响应正文以了解详细信息。
 - 401 未授权 - 未经验证的访问.请先登录。
 - 403 Forbidden – Unauthorized access.请检查您的权限。
 - 500 Internal Server Error – 意外错误。请检查堆栈追踪的响应正文。