<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>V2.2.0 on HUATUO Documentation</title>
    <link>https://docs.huatuo.tech/en/v2.2.0/</link>
    <description>Recent content in V2.2.0 on HUATUO Documentation</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Thu, 16 Apr 2026 10:10:36 -0400</lastBuildDate>
    <atom:link href="https://docs.huatuo.tech/en/v2.2.0/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Getting started</title>
      <link>https://docs.huatuo.tech/en/v2.2.0/quick-start/</link>
      <pubDate>Sun, 11 Jan 2026 00:00:00 +0000</pubDate>
      <guid>https://docs.huatuo.tech/en/v2.2.0/quick-start/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;To help users quickly experience and deploy HUATUO, this document is divided into three sections: &lt;a href=&#34;https://docs.huatuo.tech/en/v2.2.0/quick-start/#1-quick-experience&#34;&gt;Quick Experience&lt;/a&gt;，&lt;a href=&#34;https://docs.huatuo.tech/en/v2.2.0/quick-start/#2-quick-start&#34;&gt;Quick Start&lt;/a&gt;，&lt;a href=&#34;https://docs.huatuo.tech/en/v2.2.0/quick-start/#3-compilation--deployment&#34;&gt;Compilation &amp;amp; Deployment&lt;/a&gt;.&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;h3 id=&#34;1-quick-experience&#34;&gt;1. Quick Experience&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#1-quick-experience&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;p&gt;This section helps you quickly explore the frontend capabilities. You can directly access &lt;a href=&#34;http://console.huatuo.tech&#34;&gt;demo station&lt;/a&gt;, such as viewing exception event overviews, exception event context information, metric curves, etc. (Account: huatuo passwd: huatuo1024).&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://console.huatuo.tech/d/autotracing-event&#34;&gt;Events, AutoTracing Dashboard（improvements in progress）&lt;/a&gt;&#xA;&lt;img src=&#34;https://docs.huatuo.tech/img/quickstart-autotrcing-event.png&#34; alt=&#34;autotrcing-event demo diagram​&#34;&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://console.huatuo.tech/d/metrics-host&#34;&gt;Host Metrics Dashboard（improvements in progress）&lt;/a&gt;&#xA;&lt;img src=&#34;https://docs.huatuo.tech/img/quickstart-metrics-host.png&#34; alt=&#34;metrics-host demo diagram&#34;&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Compile</title>
      <link>https://docs.huatuo.tech/en/v2.2.0/compiling/</link>
      <pubDate>Sun, 11 Jan 2026 00:00:00 +0000</pubDate>
      <guid>https://docs.huatuo.tech/en/v2.2.0/compiling/</guid>
      <description>&lt;h3 id=&#34;1-build-with-the-official-image&#34;&gt;1. Build with the Official Image&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#1-build-with-the-official-image&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;p&gt;To isolate the developer’s local environment and simplify the build process, we provide a containerized build method. You can directly use &lt;code&gt;docker build&lt;/code&gt; to produce an image containing the core collector &lt;strong&gt;huatuo-bamai&lt;/strong&gt;, BPF objects, tools, and more. Run the following in the project root directory:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;docker build --network host -t huatuo/huatuo-bamai:latest .&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;2-build-a-custom-image&#34;&gt;2. Build a Custom Image&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#2-build-a-custom-image&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;p&gt;&lt;code&gt;Dockerfile.dev&lt;/code&gt;:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-Dockerfile&#34; data-lang=&#34;Dockerfile&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;FROM&lt;/span&gt;&lt;span class=&#34;s&#34;&gt; golang:1.23.0-alpine AS base&lt;/span&gt;&lt;span class=&#34;err&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;err&#34;&gt;&lt;/span&gt;&lt;span class=&#34;c&#34;&gt;# Speed up Alpine package installation if needed&lt;/span&gt;&lt;span class=&#34;err&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;err&#34;&gt;&lt;/span&gt;&lt;span class=&#34;c&#34;&gt;# RUN sed -i &amp;#39;s/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g&amp;#39; /etc/apk/repositories&lt;/span&gt;&lt;span class=&#34;err&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;err&#34;&gt;&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;RUN&lt;/span&gt; apk add --no-cache &lt;span class=&#34;se&#34;&gt;\&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;se&#34;&gt;&lt;/span&gt;                make &lt;span class=&#34;se&#34;&gt;\&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;se&#34;&gt;&lt;/span&gt;                clang15 &lt;span class=&#34;se&#34;&gt;\&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;se&#34;&gt;&lt;/span&gt;                libbpf-dev &lt;span class=&#34;se&#34;&gt;\&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;se&#34;&gt;&lt;/span&gt;                bpftool &lt;span class=&#34;se&#34;&gt;\&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;se&#34;&gt;&lt;/span&gt;                curl &lt;span class=&#34;se&#34;&gt;\&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;se&#34;&gt;&lt;/span&gt;                git&lt;span class=&#34;err&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;err&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;err&#34;&gt;&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;ENV&lt;/span&gt; &lt;span class=&#34;nv&#34;&gt;PATH&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;nv&#34;&gt;$PATH&lt;/span&gt;:/usr/lib/llvm15/bin&lt;span class=&#34;err&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;err&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;err&#34;&gt;&lt;/span&gt;&lt;span class=&#34;c&#34;&gt;# build huatuo components&lt;/span&gt;&lt;span class=&#34;err&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;err&#34;&gt;&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;FROM&lt;/span&gt;&lt;span class=&#34;s&#34;&gt; base AS build&lt;/span&gt;&lt;span class=&#34;err&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;err&#34;&gt;&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;ARG&lt;/span&gt; &lt;span class=&#34;nv&#34;&gt;BUILD_PATH&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;si&#34;&gt;${&lt;/span&gt;&lt;span class=&#34;nv&#34;&gt;BUILD_PATH&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;:-&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;/go/huatuo-bamai&lt;/span&gt;&lt;span class=&#34;si&#34;&gt;}&lt;/span&gt;&lt;span class=&#34;err&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;err&#34;&gt;&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;ARG&lt;/span&gt; &lt;span class=&#34;nv&#34;&gt;RUN_PATH&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;si&#34;&gt;${&lt;/span&gt;&lt;span class=&#34;nv&#34;&gt;RUN_PATH&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;:-&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;/home/huatuo-bamai&lt;/span&gt;&lt;span class=&#34;si&#34;&gt;}&lt;/span&gt;&lt;span class=&#34;err&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;err&#34;&gt;&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;WORKDIR&lt;/span&gt;&lt;span class=&#34;s&#34;&gt; ${BUILD_PATH}&lt;/span&gt;&lt;span class=&#34;err&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h4 id=&#34;21-build-the-dev-image&#34;&gt;2.1 Build the Dev Image&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#21-build-the-dev-image&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;docker build --network host -t huatuo/huatuo-bamai-dev:latest -f ./Dockerfile.dev .&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h4 id=&#34;22-run-the-dev-container&#34;&gt;2.2 Run the Dev Container&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#22-run-the-dev-container&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;docker run -it --privileged --cgroupns&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;host --network&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;host &lt;span class=&#34;se&#34;&gt;\&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;se&#34;&gt;&lt;/span&gt;  -v /path/to/huatuo:/go/huatuo-bamai &lt;span class=&#34;se&#34;&gt;\&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;se&#34;&gt;&lt;/span&gt;  huatuo/huatuo-bamai-dev:latest sh&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h4 id=&#34;23-compile-inside-the-container&#34;&gt;2.3 Compile Inside the Container&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#23-compile-inside-the-container&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;p&gt;Run:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Configuration Guide</title>
      <link>https://docs.huatuo.tech/en/v2.2.0/configuration/</link>
      <pubDate>Sun, 29 Mar 2026 00:00:00 +0000</pubDate>
      <guid>https://docs.huatuo.tech/en/v2.2.0/configuration/</guid>
      <description>&lt;h3 id=&#34;1-document-overview&#34;&gt;1. Document Overview&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#1-document-overview&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;p&gt;&lt;code&gt;huatuo-bamai&lt;/code&gt; is the core collector of HUATUO (a BPF-based metrics and anomaly inspector). Its configuration file defines the data collection scope, probe enablement strategy, metric output format, anomaly detection rules, and logging behavior.&lt;/p&gt;&#xA;&lt;p&gt;The configuration file uses &lt;strong&gt;TOML&lt;/strong&gt; format and includes multiple sections such as global blacklist, logging, runtime resource limits, storage configuration, and AutoTracing. Each configuration item comes with detailed comments explaining its purpose, default value, and important notes. This document provides a clear and detailed English explanation for &lt;strong&gt;every configuration item&lt;/strong&gt; to help users understand and safely customize the settings.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Integration Test</title>
      <link>https://docs.huatuo.tech/en/v2.2.0/integration/</link>
      <pubDate>Wed, 04 Mar 2026 00:00:00 +0000</pubDate>
      <guid>https://docs.huatuo.tech/en/v2.2.0/integration/</guid>
      <description>&lt;p&gt;This integration test validates that &lt;strong&gt;huatuo-bamai&lt;/strong&gt; can start correctly with mocked &lt;code&gt;/proc&lt;/code&gt; and &lt;code&gt;/sys&lt;/code&gt; filesystems and expose the expected &lt;strong&gt;Prometheus metrics&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The test runs the real &lt;code&gt;huatuo-bamai&lt;/code&gt; binary and verifies the &lt;code&gt;/metrics&lt;/code&gt;endpoint output without relying on the host kernel or hardware.&lt;/p&gt;&#xA;&lt;h3 id=&#34;what-the-script-does&#34;&gt;What the Script Does&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#what-the-script-does&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;p&gt;The integration test performs the following steps:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Generates a temporary &lt;code&gt;bamai.conf&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Starts &lt;code&gt;huatuo-bamai&lt;/code&gt; with mocked &lt;code&gt;procfs&lt;/code&gt; and &lt;code&gt;sysfs&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Waits for the Prometheus &lt;code&gt;/metrics&lt;/code&gt; endpoint to become available&lt;/li&gt;&#xA;&lt;li&gt;Fetches all metrics from &lt;code&gt;/metrics&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Verifies that all expected metrics exist&lt;/li&gt;&#xA;&lt;li&gt;Stops the service and cleans up resources&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;If any expected metric is missing, the test fails.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Change Log</title>
      <link>https://docs.huatuo.tech/en/v2.2.0/changelog/</link>
      <pubDate>Sun, 29 Mar 2026 00:00:00 +0000</pubDate>
      <guid>https://docs.huatuo.tech/en/v2.2.0/changelog/</guid>
      <description>&lt;h4 id=&#34;features&#34;&gt;Features&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#features&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Added iotracing AutoTracing capability&lt;/li&gt;&#xA;&lt;li&gt;Added general hardware failure detection (CPU, Memory, PCIe)&lt;/li&gt;&#xA;&lt;li&gt;Added MetaX GPU failure detection&lt;/li&gt;&#xA;&lt;li&gt;Added physical link detection support&lt;/li&gt;&#xA;&lt;li&gt;Added support for Amazon EKS deployment&lt;/li&gt;&#xA;&lt;li&gt;Added support for Aliyun ACK deployment&lt;/li&gt;&#xA;&lt;li&gt;Added dropwatch namespace cookie support&lt;/li&gt;&#xA;&lt;li&gt;Added container throttled_time metric&lt;/li&gt;&#xA;&lt;li&gt;Added compatibility with kubelet systemd cgroup driver&lt;/li&gt;&#xA;&lt;li&gt;Added automatic detection of kubelet cgroup driver type&lt;/li&gt;&#xA;&lt;li&gt;Added, optimized, and standardized the huatuo-bamai configuration file&lt;/li&gt;&#xA;&lt;li&gt;Added Github CI/CD automated testing&lt;/li&gt;&#xA;&lt;li&gt;Added unit testing, integration testing, and end-to-end testing&lt;/li&gt;&#xA;&lt;li&gt;Enhanced golangci-lint static code analysis rules&lt;/li&gt;&#xA;&lt;li&gt;Added daemonset YAML deployment files&lt;/li&gt;&#xA;&lt;li&gt;Added new Metric API interfaces&lt;/li&gt;&#xA;&lt;li&gt;Added compatibility support for 5.15.x kernel series&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4 id=&#34;bug-fixes--improvements&#34;&gt;Bug Fixes &amp;amp; Improvements&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#bug-fixes--improvements&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Optimized local storage format&lt;/li&gt;&#xA;&lt;li&gt;Optimized and refactored code in multiple modules&lt;/li&gt;&#xA;&lt;li&gt;Improved and enriched documentation at &lt;a href=&#34;https://huatuo.tech/docs/&#34;&gt;https://huatuo.tech/docs/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
    </item>
  </channel>
</rss>
