.. Metrics Driven Development documentation master file

=============================================
度量驱动开发 Metrics Driven Development
=============================================

   *If you can't measure it, you can't manage it.*

   *If you can't measure it, you can't prove it.*

   *If you can't measure it, you can't improve it.*

   -- Walter Fan

.. note::

   **AI 时代的度量驱动开发**

   AI 能让你写代码快 10 倍，但如果没有度量护法加持，你可能在以 10 倍速度制造技术债。
   度量驱动开发（MDD）是 AI 辅助编程时代的 **可观测性护法** ——
   确保代码不仅能跑，而且跑得好、跑得明白。

   本书覆盖 Go、Python、Java、C++ 四种语言，
   从微服务度量到 AI 应用（LLM/RAG/Agent）的全栈可观测性实践。


.. toctree::
   :maxdepth: 2
   :caption: 前言

   preface


.. toctree::
   :maxdepth: 2
   :caption: 第一部分：基础篇 — 为什么需要度量

   chapter1
   chapter2
   chapter3


.. toctree::
   :maxdepth: 2
   :caption: 第二部分：实现篇 — 如何实现度量

   chapter4
   chapter5
   chapter6


.. toctree::
   :maxdepth: 2
   :caption: 第三部分：运维篇 — 度量驱动的运维

   chapter7
   chapter8


.. toctree::
   :maxdepth: 2
   :caption: 第四部分：AI 篇 — AI 应用的度量体系

   chapter9
   chapter10
   chapter11


.. toctree::
   :maxdepth: 2
   :caption: 第五部分：实践篇

   chapter12


.. toctree::
   :maxdepth: 2
   :caption: 附录

   appendix
   appendix_b
   appendix_c
   glossary


索引
====

* :ref:`genindex`
* :ref:`search`
