# README

* [全书组织](/prometheus-handbook/introduction.md)

## Part I - Prometheus基础

* [第1章 天降奇兵](/prometheus-handbook/parti-prometheus-ji-chu/quickstart.md)
  * [Prometheus简介](/prometheus-handbook/parti-prometheus-ji-chu/quickstart/why-monitor.md)
  * [初识Prometheus](/prometheus-handbook/parti-prometheus-ji-chu/quickstart/prometheus-quick-start.md)
    * [安装Prometheus Server](/prometheus-handbook/parti-prometheus-ji-chu/quickstart/prometheus-quick-start/install-prometheus-server.md)
    * [使用Node Exporter采集主机数据](/prometheus-handbook/parti-prometheus-ji-chu/quickstart/prometheus-quick-start/use-node-exporter.md)
    * [使用PromQL查询监控数据](/prometheus-handbook/parti-prometheus-ji-chu/quickstart/prometheus-quick-start/promql_quickstart.md)
    * [监控数据可视化](/prometheus-handbook/parti-prometheus-ji-chu/quickstart/prometheus-quick-start/use-grafana-create-dashboard.md)
  * [任务和实例](/prometheus-handbook/parti-prometheus-ji-chu/quickstart/prometheus-job-and-instance.md)
  * [Prometheus核心组件](/prometheus-handbook/parti-prometheus-ji-chu/quickstart/prometheus-arch.md)
  * [小结](/prometheus-handbook/parti-prometheus-ji-chu/quickstart/summary.md)
* [第2章 探索PromQL](/prometheus-handbook/parti-prometheus-ji-chu/promql.md)
  * [理解时间序列](/prometheus-handbook/parti-prometheus-ji-chu/promql/what-is-prometheus-metrics-and-labels.md)
  * [Metrics类型](/prometheus-handbook/parti-prometheus-ji-chu/promql/prometheus-metrics-types.md)
  * [初识PromQL](/prometheus-handbook/parti-prometheus-ji-chu/promql/prometheus-query-language.md)
  * [PromQL操作符](/prometheus-handbook/parti-prometheus-ji-chu/promql/prometheus-promql-operators-v2.md)
  * [PromQL聚合操作](/prometheus-handbook/parti-prometheus-ji-chu/promql/prometheus-aggr-ops.md)
  * [PromQL内置函数](/prometheus-handbook/parti-prometheus-ji-chu/promql/prometheus-promql-functions.md)
  * [在HTTP API中使用PromQL](/prometheus-handbook/parti-prometheus-ji-chu/promql/prometheus-promql-with-http-api.md)
  * [最佳实践：4个黄金指标和USE方法](/prometheus-handbook/parti-prometheus-ji-chu/promql/prometheus-promql-best-praticase.md)
  * [小结](/prometheus-handbook/parti-prometheus-ji-chu/promql/summary.md)
* [第3章 Prometheus告警处理](/prometheus-handbook/parti-prometheus-ji-chu/alert.md)
  * [Prometheus告警简介](/prometheus-handbook/parti-prometheus-ji-chu/alert/prometheus-alert-manager-overview.md)
  * [自定义Prometheus告警规则](/prometheus-handbook/parti-prometheus-ji-chu/alert/prometheus-alert-rule.md)
  * [部署AlertManager](/prometheus-handbook/parti-prometheus-ji-chu/alert/install-alert-manager.md)
  * [Alertmanager配置概述](/prometheus-handbook/parti-prometheus-ji-chu/alert/alert-manager-config.md)
  * [基于标签的告警处理路由](/prometheus-handbook/parti-prometheus-ji-chu/alert/alert-manager-route.md)
  * [使用Receiver接收告警信息](/prometheus-handbook/parti-prometheus-ji-chu/alert/alert-manager-use-receiver.md)
    * [集成邮件系统](/prometheus-handbook/parti-prometheus-ji-chu/alert/alert-manager-use-receiver/alert-with-smtp.md)
    * [集成Slack](/prometheus-handbook/parti-prometheus-ji-chu/alert/alert-manager-use-receiver/alert-with-slack.md)
    * [集成企业微信](/prometheus-handbook/parti-prometheus-ji-chu/alert/alert-manager-use-receiver/alert-with-wechat.md)
    * [集成钉钉：基于Webhook的扩展](/prometheus-handbook/parti-prometheus-ji-chu/alert/alert-manager-use-receiver/alert-manager-extension-with-webhook.md)
  * [告警模板详解](/prometheus-handbook/parti-prometheus-ji-chu/alert/alert-template.md)
  * [屏蔽告警通知](/prometheus-handbook/parti-prometheus-ji-chu/alert/alert-manager-inhibit.md)
  * [使用Recoding Rules优化性能](/prometheus-handbook/parti-prometheus-ji-chu/alert/prometheus-recoding-rules.md)
  * [小结](/prometheus-handbook/parti-prometheus-ji-chu/alert/summary.md)

## Part II - Prometheus进阶

* [第4章 Exporter详解](/prometheus-handbook/part-ii-prometheus-jin-jie/exporter.md)
  * [Exporter是什么](/prometheus-handbook/part-ii-prometheus-jin-jie/exporter/what-is-prometheus-exporter.md)
  * [常用Exporter](/prometheus-handbook/part-ii-prometheus-jin-jie/exporter/commonly-eporter-usage.md)
    * [容器监控：cAdvisor](/prometheus-handbook/part-ii-prometheus-jin-jie/exporter/commonly-eporter-usage/use-prometheus-monitor-container.md)
    * [监控MySQL运行状态：MySQLD Exporter](/prometheus-handbook/part-ii-prometheus-jin-jie/exporter/commonly-eporter-usage/use-promethues-monitor-mysql.md)
    * [网络探测：Blackbox Exporter](/prometheus-handbook/part-ii-prometheus-jin-jie/exporter/commonly-eporter-usage/install_blackbox_exporter.md)
  * [使用Java自定义Exporter](/prometheus-handbook/part-ii-prometheus-jin-jie/exporter/custom_exporter_with_java.md)
    * [使用Client Java构建Exporter程序](/prometheus-handbook/part-ii-prometheus-jin-jie/exporter/custom_exporter_with_java/client_library_java.md)
    * [在应用中内置Prometheus支持](/prometheus-handbook/part-ii-prometheus-jin-jie/exporter/custom_exporter_with_java/custom_app_support_prometheus.md)
  * [小结](/prometheus-handbook/part-ii-prometheus-jin-jie/exporter/summary.md)
* [第5章 数据与可视化](/prometheus-handbook/part-ii-prometheus-jin-jie/grafana.md)
  * [使用Console Template](/prometheus-handbook/part-ii-prometheus-jin-jie/grafana/use-console-template.md)
  * [Grafana的基本概念](/prometheus-handbook/part-ii-prometheus-jin-jie/grafana/grafana-intro.md)
  * [Grafana与数据可视化](/prometheus-handbook/part-ii-prometheus-jin-jie/grafana/grafana-panels.md)
    * [变化趋势：Graph面板](/prometheus-handbook/part-ii-prometheus-jin-jie/grafana/grafana-panels/use_graph_panel.md)
    * [分布统计：Heatmap面板](/prometheus-handbook/part-ii-prometheus-jin-jie/grafana/grafana-panels/use_heatmap_panel.md)
    * [当前状态：SingleStat面板](/prometheus-handbook/part-ii-prometheus-jin-jie/grafana/grafana-panels/use_singlestat_panel.md)
  * [模板化Dashboard](/prometheus-handbook/part-ii-prometheus-jin-jie/grafana/templating.md)
  * [小结](/prometheus-handbook/part-ii-prometheus-jin-jie/grafana/summary.md)
* [第6章 集群与高可用](/prometheus-handbook/part-ii-prometheus-jin-jie/readmd.md)
  * [本地存储](/prometheus-handbook/part-ii-prometheus-jin-jie/readmd/prometheus-local-storage.md)
  * [远程存储](/prometheus-handbook/part-ii-prometheus-jin-jie/readmd/prometheus-remote-storage.md)
  * [联邦集群](/prometheus-handbook/part-ii-prometheus-jin-jie/readmd/scale-prometheus-with-federation.md)
  * [Prometheus高可用](/prometheus-handbook/part-ii-prometheus-jin-jie/readmd/prometheus-and-high-availability.md)
  * [Alertmanager高可用](/prometheus-handbook/part-ii-prometheus-jin-jie/readmd/alertmanager-high-availability.md)
  * [小结](/prometheus-handbook/part-ii-prometheus-jin-jie/readmd/summary.md)
* [第7章 Prometheus服务发现](/prometheus-handbook/part-ii-prometheus-jin-jie/sd.md)
  * [Prometheus与服务发现](/prometheus-handbook/part-ii-prometheus-jin-jie/sd/why-need-service-discovery.md)
  * [基于文件的服务发现](/prometheus-handbook/part-ii-prometheus-jin-jie/sd/service-discovery-with-file.md)
  * [基于Consul的服务发现](/prometheus-handbook/part-ii-prometheus-jin-jie/sd/service-discovery-with-consul.md)
  * [服务发现与Relabel](/prometheus-handbook/part-ii-prometheus-jin-jie/sd/service-discovery-with-relabel.md)
  * [小结](/prometheus-handbook/part-ii-prometheus-jin-jie/sd/summary.md)

## Part III - Prometheus实战

* [第8章 监控Kubernetes](/prometheus-handbook/part-iii-prometheus-shi-zhan/readmd.md)
  * [初识Kubernetes](/prometheus-handbook/part-iii-prometheus-shi-zhan/readmd/kubernetes-with-minikube.md)
  * [部署Prometheus](/prometheus-handbook/part-iii-prometheus-shi-zhan/readmd/deploy-prometheus-in-kubernetes.md)
  * [Kubernetes下的服务发现](/prometheus-handbook/part-iii-prometheus-shi-zhan/readmd/service-discovery-with-kubernetes.md)
  * [监控Kubernetes集群](/prometheus-handbook/part-iii-prometheus-shi-zhan/readmd/use-prometheus-monitor-kubernetes.md)
  * [基于Prometheus的弹性伸缩](/prometheus-handbook/part-iii-prometheus-shi-zhan/readmd/hap-with-prometheus.md)
  * [小结](/prometheus-handbook/part-iii-prometheus-shi-zhan/readmd/summary.md)
* [第9章 Prometheus Operator](/prometheus-handbook/part-iii-prometheus-shi-zhan/operator.md)
  * [什么是Prometheus Operator](/prometheus-handbook/part-iii-prometheus-shi-zhan/operator/what-is-prometheus-operator.md)
  * [使用Operator管理Prometheus](/prometheus-handbook/part-iii-prometheus-shi-zhan/operator/use-operator-manage-prometheus.md)
  * [使用Operator管理监控配置](/prometheus-handbook/part-iii-prometheus-shi-zhan/operator/use-operator-manage-monitor.md)
  * [在Prometheus Operator中使用自定义配置](/prometheus-handbook/part-iii-prometheus-shi-zhan/operator/use-custom-configuration-in-operator.md)
  * [小结](/prometheus-handbook/part-iii-prometheus-shi-zhan/operator/summary.md)
* [参考资料](/prometheus-handbook/part-iii-prometheus-shi-zhan/references.md)


---

# 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://doc.cncf.vip/prometheus-handbook/readme.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.
