<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Reference on HUATUO Documentation</title>
    <link>https://docs.huatuo.tech/en/latest/reference/</link>
    <description>Recent content in Reference on HUATUO Documentation</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Wed, 21 Oct 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://docs.huatuo.tech/en/latest/reference/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Metrics Reference</title>
      <link>https://docs.huatuo.tech/en/latest/reference/metrics/</link>
      <pubDate>Sun, 11 Jan 2026 00:00:00 +0000</pubDate>
      <guid>https://docs.huatuo.tech/en/latest/reference/metrics/</guid>
      <description>&lt;p&gt;This reference lists metric names, units, labels, sources, and measurement semantics. See &lt;a href=&#34;https://docs.huatuo.tech/en/latest/key-feature/kernel-wide-insight/&#34;&gt;Kernel-Wide Insight&lt;/a&gt; for capabilities and troubleshooting scenarios.&lt;/p&gt;&#xA;&lt;h2 id=&#34;how-to-read-this-reference&#34;&gt;How to Read This Reference&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#how-to-read-this-reference&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;Common metrics are grouped by CPU, memory, network, I/O, system events, and GPU for querying and troubleshooting. Actual output depends on kernel interfaces, device drivers, enabled collectors, and filters. The node&amp;rsquo;s &lt;code&gt;/metrics&lt;/code&gt; output is authoritative for the complete set. See &lt;a href=&#34;https://docs.huatuo.tech/en/latest/configuration/huatuo-bamai-configuration/&#34;&gt;Node Configuration&lt;/a&gt; for enablement.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Names&lt;/strong&gt;: tables omit the &lt;code&gt;huatuo_bamai_&lt;/code&gt; prefix. For example, &lt;code&gt;cpu_util_total&lt;/code&gt; is exposed as &lt;code&gt;huatuo_bamai_cpu_util_total&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Labels&lt;/strong&gt;: all metrics include &lt;code&gt;host&lt;/code&gt; and &lt;code&gt;region&lt;/code&gt;. Container metrics also include &lt;code&gt;container_host&lt;/code&gt;, &lt;code&gt;container_hostnamespace&lt;/code&gt;, &lt;code&gt;container_level&lt;/code&gt;, &lt;code&gt;container_name&lt;/code&gt;, and &lt;code&gt;container_type&lt;/code&gt;. Tables list only additional labels; &lt;code&gt;—&lt;/code&gt; means none.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Counts and units&lt;/strong&gt;: counts measure events or objects, not latency. Use &lt;code&gt;rate()&lt;/code&gt; or &lt;code&gt;increase()&lt;/code&gt; for cumulative Counters. Some cumulative kernel statistics are exported as Gauges; interpret their field semantics rather than inferring from type or name alone.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Examples&lt;/strong&gt;: values illustrate output format, not diagnostic thresholds. A missing metric does not mean zero.&lt;/li&gt;&#xA;&lt;/ul&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-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;# TYPE huatuo_bamai_runqlat_latency counter&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;huatuo_bamai_runqlat_latency{host=&amp;#34;hostname&amp;#34;,region=&amp;#34;dev&amp;#34;,zone=&amp;#34;0&amp;#34;} 35100&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;# TYPE huatuo_bamai_runqlat_container_latency counter&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;huatuo_bamai_runqlat_container_latency{container_host=&amp;#34;coredns-855c4dd65d-8v5kg&amp;#34;,container_hostnamespace=&amp;#34;kube-system&amp;#34;,container_level=&amp;#34;burstable&amp;#34;,container_name=&amp;#34;coredns&amp;#34;,container_type=&amp;#34;normal&amp;#34;,host=&amp;#34;hostname&amp;#34;,region=&amp;#34;dev&amp;#34;,zone=&amp;#34;0&amp;#34;} 226&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This example shows host and container scheduling-latency bucket counts. The &lt;code&gt;zone&lt;/code&gt; ranges are listed below.&lt;/p&gt;</description>
    </item>
    <item>
      <title>AutoTracing Fields</title>
      <link>https://docs.huatuo.tech/en/latest/reference/autotracing/</link>
      <pubDate>Sun, 11 Jan 2026 00:00:00 +0000</pubDate>
      <guid>https://docs.huatuo.tech/en/latest/reference/autotracing/</guid>
      <description>&lt;p&gt;This reference covers AutoTracing record fields, units, and examples. See &lt;a href=&#34;https://docs.huatuo.tech/en/latest/key-feature/autotracing/&#34;&gt;AutoTracing&lt;/a&gt; for use cases and &lt;a href=&#34;https://docs.huatuo.tech/en/latest/configuration/huatuo-bamai-configuration/&#34;&gt;Node Configuration&lt;/a&gt; for settings. Thresholds below are built-in defaults that configuration files can override.&lt;/p&gt;&#xA;&lt;h2 id=&#34;results&#34;&gt;Results&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#results&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;Automatic tracing events are written to Elasticsearch or local files according to enabled storage settings. Filter by &lt;code&gt;tracer_type=autotracing&lt;/code&gt;, &lt;code&gt;tracer_name&lt;/code&gt;, host or container identifiers, and time range. The JSON examples illustrate field structure, not measured results.&lt;/p&gt;&#xA;&lt;p&gt;CPU examples use &lt;code&gt;perf&lt;/code&gt;. With &lt;code&gt;profiler&lt;/code&gt;, events retain trigger metrics; profiles are stored separately in Elasticsearch with the same &lt;code&gt;tracer_id&lt;/code&gt;. See &lt;a href=&#34;https://docs.huatuo.tech/docs/configuration/huatuo-bamai-configuration_en.md#7-automatic-tracing&#34;&gt;Node Configuration&lt;/a&gt; for storage requirements and viewing instructions.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Abnormal Event Fields</title>
      <link>https://docs.huatuo.tech/en/latest/reference/instant-observability/</link>
      <pubDate>Sun, 11 Jan 2026 00:00:00 +0000</pubDate>
      <guid>https://docs.huatuo.tech/en/latest/reference/instant-observability/</guid>
      <description>&lt;p&gt;This reference covers abnormal event structures, fields, and limitations. See &lt;a href=&#34;https://docs.huatuo.tech/en/latest/key-feature/instant-observability/&#34;&gt;Abnormal Event Diagnosis&lt;/a&gt; for capabilities and &lt;a href=&#34;https://docs.huatuo.tech/en/latest/configuration/huatuo-bamai-configuration/&#34;&gt;Node Configuration&lt;/a&gt; for collection settings.&lt;/p&gt;&#xA;&lt;h2 id=&#34;event-records&#34;&gt;Event Records&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#event-records&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;Results are written to Elasticsearch or local files according to enabled storage settings. Filter by &lt;code&gt;tracer_type=event&lt;/code&gt;, event name, host or container, and time range. The JSON examples illustrate structure and omit some common fields. Threshold descriptions use built-in defaults.&lt;/p&gt;&#xA;&lt;p&gt;Container fields are provided only when a container is associated. Event-specific data is in &lt;code&gt;tracer_data&lt;/code&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Hardware Event Fields</title>
      <link>https://docs.huatuo.tech/en/latest/reference/hardware-events/</link>
      <pubDate>Fri, 06 Mar 2026 00:00:00 +0000</pubDate>
      <guid>https://docs.huatuo.tech/en/latest/reference/hardware-events/</guid>
      <description>&lt;p&gt;This reference covers RAS metrics, event structures, severity, and source fields. See &lt;a href=&#34;https://docs.huatuo.tech/en/latest/key-feature/hardware-events/&#34;&gt;Hardware Fault Diagnosis&lt;/a&gt; for coverage and enablement.&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;EventTracing.Ras.MceThrBackoff&lt;/code&gt; controls the save interval for threshold-interrupt events. Events are still counted during cooldown, so counter increases need not equal the number of saved records.&lt;/p&gt;&#xA;&lt;h2 id=&#34;results&#34;&gt;Results&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#results&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;h3 id=&#34;error-counts&#34;&gt;Error Counts&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#error-counts&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;p&gt;&lt;code&gt;huatuo_bamai_ras_hw_err_total&lt;/code&gt; counts received RAS events by &lt;code&gt;type&lt;/code&gt;: &lt;code&gt;mce&lt;/code&gt;, &lt;code&gt;edac&lt;/code&gt;, &lt;code&gt;acpi&lt;/code&gt;, &lt;code&gt;aer&lt;/code&gt;, &lt;code&gt;thr&lt;/code&gt;, and &lt;code&gt;arm_ghes&lt;/code&gt;. The presence of a label does not prove that the current platform supports its probe.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Profiling API</title>
      <link>https://docs.huatuo.tech/en/latest/reference/profiling-api/</link>
      <pubDate>Wed, 21 Oct 2026 00:00:00 +0000</pubDate>
      <guid>https://docs.huatuo.tech/en/latest/reference/profiling-api/</guid>
      <description>&lt;p&gt;This reference covers profiling task requests, responses, and states. For a first collection, see the &lt;a href=&#34;https://docs.huatuo.tech/docs/best-practice/continuous-profiling_en.md#quick-start&#34;&gt;Profiling Guide&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;huatuo-apiserver creates, supervises, and stops profiling tasks through &lt;code&gt;/v1/profiling&lt;/code&gt;. Each HTTP creation request is an independent execution. Profiling tasks are persisted as Jobs in huatuo-apiserver; the node keeps only in-memory operations and profiler processes.&lt;/p&gt;&#xA;&lt;p&gt;Task control does not depend on Elasticsearch. Raw-result queries and dashboard links require it. huatuo-bamai and huatuo-apiserver must use the same index.&lt;/p&gt;</description>
    </item>
    <item>
      <title>profiler CLI Parameters</title>
      <link>https://docs.huatuo.tech/en/latest/reference/profiler-cli/</link>
      <pubDate>Wed, 21 Oct 2026 00:00:00 +0000</pubDate>
      <guid>https://docs.huatuo.tech/en/latest/reference/profiler-cli/</guid>
      <description>&lt;p&gt;This reference lists &lt;code&gt;profiler&lt;/code&gt; parameters, defaults, and applicability. See &lt;a href=&#34;https://docs.huatuo.tech/docs/best-practice/continuous-profiling_en.md#cli-collection&#34;&gt;CLI Collection&lt;/a&gt; for prerequisites and examples, and &lt;a href=&#34;https://docs.huatuo.tech/docs/best-practice/continuous-profiling_en.md#output-formats&#34;&gt;Output Formats&lt;/a&gt; to choose a format.&lt;/p&gt;&#xA;&lt;p&gt;Both &lt;code&gt;--output-path&lt;/code&gt; and &lt;code&gt;--output-format&lt;/code&gt; must be explicit. The declared default for &lt;code&gt;--output-format&lt;/code&gt; is &lt;code&gt;collapsed&lt;/code&gt;, but validation does not allow the flag to be omitted.&lt;/p&gt;&#xA;&lt;h2 id=&#34;general&#34;&gt;General&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#general&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;table&gt;&#xA;  &lt;thead&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;th&gt;Parameter&lt;/th&gt;&#xA;          &lt;th&gt;Default&lt;/th&gt;&#xA;          &lt;th&gt;Applies To&lt;/th&gt;&#xA;          &lt;th&gt;Description&lt;/th&gt;&#xA;      &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;code&gt;--type&lt;/code&gt;, &lt;code&gt;-t&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;None&lt;/td&gt;&#xA;          &lt;td&gt;All&lt;/td&gt;&#xA;          &lt;td&gt;Observation type: &lt;code&gt;cpu&lt;/code&gt; or &lt;code&gt;memory&lt;/code&gt;; required&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;code&gt;--language&lt;/code&gt;, &lt;code&gt;-l&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;None&lt;/td&gt;&#xA;          &lt;td&gt;All&lt;/td&gt;&#xA;          &lt;td&gt;Target language: &lt;code&gt;c&lt;/code&gt;, &lt;code&gt;c++&lt;/code&gt;, &lt;code&gt;go&lt;/code&gt;, &lt;code&gt;java&lt;/code&gt;, or &lt;code&gt;python&lt;/code&gt;; required&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;code&gt;--pid&lt;/code&gt;, &lt;code&gt;-p&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;None&lt;/td&gt;&#xA;          &lt;td&gt;All&lt;/td&gt;&#xA;          &lt;td&gt;Target PID; Java and Python accept comma-separated PIDs, native collection accepts at most one&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;code&gt;--container-id&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;None&lt;/td&gt;&#xA;          &lt;td&gt;All&lt;/td&gt;&#xA;          &lt;td&gt;Target container ID; native CPU combines it with &lt;code&gt;--pid&lt;/code&gt; as an AND filter using the host PID; otherwise mutually exclusive with &lt;code&gt;--pid&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;code&gt;--duration&lt;/code&gt;, &lt;code&gt;-d&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;&lt;code&gt;10&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;All&lt;/td&gt;&#xA;          &lt;td&gt;Total collection duration in seconds, minimum 1&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;code&gt;--aggr-interval&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;&lt;code&gt;10&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;All&lt;/td&gt;&#xA;          &lt;td&gt;Aggregation interval in seconds; cannot exceed duration&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;code&gt;--freq&lt;/code&gt;, &lt;code&gt;-F&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;&lt;code&gt;99&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;CPU&lt;/td&gt;&#xA;          &lt;td&gt;Samples per second; Java maximum: 1000&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;code&gt;--output-path&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;Required&lt;/td&gt;&#xA;          &lt;td&gt;All&lt;/td&gt;&#xA;          &lt;td&gt;Local file, directory, or &lt;code&gt;stdout&lt;/code&gt;; Unix socket for &lt;code&gt;remote-store&lt;/code&gt;. End new directory paths with &lt;code&gt;/&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;code&gt;--output-format&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;&lt;code&gt;collapsed&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;All&lt;/td&gt;&#xA;          &lt;td&gt;&lt;code&gt;collapsed&lt;/code&gt;, &lt;code&gt;flamegraph&lt;/code&gt;, &lt;code&gt;svg&lt;/code&gt;, &lt;code&gt;json&lt;/code&gt;, or &lt;code&gt;remote-store&lt;/code&gt;; must be explicit together with &lt;code&gt;--output-path&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;code&gt;--max-concurrent-procs&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;&lt;code&gt;0&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;Java, Python&lt;/td&gt;&#xA;          &lt;td&gt;Maximum concurrent collection child processes; &lt;code&gt;0&lt;/code&gt; is unlimited&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;code&gt;--tool-path&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;None&lt;/td&gt;&#xA;          &lt;td&gt;Java, Python&lt;/td&gt;&#xA;          &lt;td&gt;Shared root directory for external tools; required&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;code&gt;--binary-match-path&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;None&lt;/td&gt;&#xA;          &lt;td&gt;Java, Python&lt;/td&gt;&#xA;          &lt;td&gt;Match target container processes by executable path&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;code&gt;--huatuo-api-address&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;&lt;code&gt;127.0.0.1:19704&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;Container targets&lt;/td&gt;&#xA;          &lt;td&gt;HUATUO API address for resolving container metadata&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;code&gt;--task-id&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;Empty; generated internally for local output&lt;/td&gt;&#xA;          &lt;td&gt;All; required for &lt;code&gt;remote-store&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;Stable collection task ID shared by toolstream and remote storage&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;code&gt;--enable-pprof&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;&lt;code&gt;false&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;The tool itself&lt;/td&gt;&#xA;          &lt;td&gt;Serve this process&amp;rsquo;s Go runtime profiles on &lt;code&gt;127.0.0.1:6000&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;code&gt;--version-format&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;&lt;code&gt;text&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;Version queries&lt;/td&gt;&#xA;          &lt;td&gt;Format for &lt;code&gt;--version&lt;/code&gt;: &lt;code&gt;text&lt;/code&gt;, &lt;code&gt;json&lt;/code&gt;, or &lt;code&gt;short&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;code&gt;--help&lt;/code&gt;, &lt;code&gt;-h&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;-&lt;/td&gt;&#xA;          &lt;td&gt;All&lt;/td&gt;&#xA;          &lt;td&gt;Show command help&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;code&gt;--version&lt;/code&gt;, &lt;code&gt;-v&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;-&lt;/td&gt;&#xA;          &lt;td&gt;All&lt;/td&gt;&#xA;          &lt;td&gt;Show version and build information&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;p&gt;These pprof endpoints describe the profiler process&amp;rsquo;s own Go runtime, not the &lt;code&gt;--pid&lt;/code&gt; target or Java/Python collector subprocesses. The listener is now restricted to loopback rather than all interfaces; an occupied port fails startup.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
