Directories
¶
| Path | Synopsis |
|---|---|
|
apis
|
|
|
v1
Package v1 provides primitives to interact with the OpenAPI HTTP API.
|
Package v1 provides primitives to interact with the OpenAPI HTTP API. |
|
v1/node
Package node provides primitives to interact with the OpenAPI HTTP API.
|
Package node provides primitives to interact with the OpenAPI HTTP API. |
|
v1/server
Package server provides primitives to interact with the OpenAPI HTTP API.
|
Package server provides primitives to interact with the OpenAPI HTTP API. |
|
build
|
|
|
bpfabi-tool
command
|
|
|
openapi/bundle
command
|
|
|
openapi/errorcodes
command
|
|
|
pprof-tool
command
|
|
|
Package client provides Go clients for Huatuo HTTP APIs.
|
Package client provides Go clients for Huatuo HTTP APIs. |
|
cmd
|
|
|
dropwatch
command
|
|
|
huatuo-apiserver
command
|
|
|
huatuo-bamai
command
|
|
|
iotracing
command
Select request readers before opening tracing resources.
|
Select request readers before opening tracing resources. |
|
irqtracing
command
|
|
|
perf
command
|
|
|
profiler
command
|
|
|
sched-blame
command
|
|
|
tcpshark
command
|
|
|
tcpshark/retransmit
Package retransmit runs TCP retransmit tracing and optional drop correlation.
|
Package retransmit runs TCP retransmit tracing and optional drop correlation. |
|
core
|
|
|
metrics
Block device health records events and freeze counters.
|
Block device health records events and freeze counters. |
|
metrics/ascend/hccn
Package hccn collects NPU network metrics via hccn_tool.
|
Package hccn collects NPU network metrics via hccn_tool. |
|
metrics/ascend/pcie
Package pcie reads PCIe link capability and status from sysfs.
|
Package pcie reads PCIe link capability and status from sysfs. |
|
internal
|
|
|
blkdevicehealth
Health commands share time and output bounds so event-triggered evidence cannot add unbounded load to an unhealthy storage path.
|
Health commands share time and output bounds so event-triggered evidence cannot add unbounded load to an unhealthy storage path. |
|
document
Package document constructs metadata shared by persisted observations.
|
Package document constructs metadata shared by persisted observations. |
|
dropwatch
Package dropwatch owns BPF resources for software and hardware drop tracing.
|
Package dropwatch owns BPF resources for software and hardware drop tracing. |
|
executil
Package executil owns one external command and its Linux process group.
|
Package executil owns one external command and its Linux process group. |
|
httpserver/auth
Package auth provides framework-independent authentication and authorization.
|
Package auth provides framework-independent authentication and authorization. |
|
httpserver/pprof
Package pprof provides a standalone HTTP server for Go runtime profiles.
|
Package pprof provides a standalone HTTP server for Go runtime profiles. |
|
nodeagent/cloudevents
Package cloudevents manages filtered Node event subscriptions and converts tracing documents into the public CloudEvents envelope.
|
Package cloudevents manages filtered Node event subscriptions and converts tracing documents into the public CloudEvents envelope. |
|
nodeagent/operation
Package operation owns the Node Agent's in-memory execution lifecycle.
|
Package operation owns the Node Agent's in-memory execution lifecycle. |
|
nodeagent/profiling
Package profiling adapts typed profiling requests to Node operations.
|
Package profiling adapts typed profiling requests to Node operations. |
|
nodeagent/tracing
Package tracing implements the Node on-demand tracing service boundary.
|
Package tracing implements the Node on-demand tracing service boundary. |
|
pcapfilter
Package pcapfilter compiles tcpdump filter expressions and injects them into pre-compiled BPF CollectionSpecs using the pwru stub-splice pattern.
|
Package pcapfilter compiles tcpdump filter expressions and injects them into pre-compiled BPF CollectionSpecs using the pwru stub-splice pattern. |
|
profiling
Package profiling constructs and persists profiling results.
|
Package profiling constructs and persists profiling results. |
|
profiling/aggregation
Package aggregation deduplicates profiling samples by complete stack and label identity.
|
Package aggregation deduplicates profiling samples by complete stack and label identity. |
|
profiling/bpfmap
Package bpfmap provides shared stack-map access and native profiler transfer state helpers.
|
Package bpfmap provides shared stack-map access and native profiler transfer state helpers. |
|
profiling/flamegraph/tui
Package tui renders flamegraph FrameData in an interactive terminal viewer.
|
Package tui renders flamegraph FrameData in an interactive terminal viewer. |
|
profiling/formatter
Package formatter defines profiling output contracts.
|
Package formatter defines profiling output contracts. |
|
profiling/formatter/chrometrace
Package chrometrace writes aggregated stacks as Chrome Trace Event JSON.
|
Package chrometrace writes aggregated stacks as Chrome Trace Event JSON. |
|
profiling/formatter/collapsed
Package collapsed writes folded-stack format (Brendan Gregg): "frame;frame count\n".
|
Package collapsed writes folded-stack format (Brendan Gregg): "frame;frame count\n". |
|
profiling/formatter/factory
Package factory constructs profiling output formats.
|
Package factory constructs profiling output formats. |
|
profiling/formatter/flamegraph
Package flamegraph writes an interactive SVG flame graph via the JS-enhanced renderer.
|
Package flamegraph writes an interactive SVG flame graph via the JS-enhanced renderer. |
|
profiling/formatter/speedscope
Package speedscope encodes aggregated profiles as weighted Speedscope samples.
|
Package speedscope encodes aggregated profiles as weighted Speedscope samples. |
|
profiling/toolpath
Package toolpath owns the installed layout of external profiling tools.
|
Package toolpath owns the installed layout of external profiling tools. |
|
profiling/window
Package window validates and converts immutable aggregation windows.
|
Package window validates and converts immutable aggregation windows. |
|
qdisc
Package qdisc reads Linux queuing discipline statistics.
|
Package qdisc reads Linux queuing discipline statistics. |
|
randomid
Package randomid creates opaque identifiers for internal execution sessions.
|
Package randomid creates opaque identifiers for internal execution sessions. |
|
storage/driver
Package driver defines the storage abstraction layer: configuration types, query DSL, the Backend interface, and the backend driver registry.
|
Package driver defines the storage abstraction layer: configuration types, query DSL, the Backend interface, and the backend driver registry. |
|
storage/elasticsearch
Package elasticsearch implements a storage backend compatible with Elasticsearch v7/v8 and OpenSearch using the official go-elasticsearch/v8 SDK.
|
Package elasticsearch implements a storage backend compatible with Elasticsearch v7/v8 and OpenSearch using the official go-elasticsearch/v8 SDK. |
|
storage/localfile
Package localfile implements a storage backend that appends records to local files with rotation support.
|
Package localfile implements a storage backend that appends records to local files with rotation support. |
|
storage/sqlite
Package sqlite implements a storage backend that persists records to SQLite using json_extract-based querying.
|
Package sqlite implements a storage backend that persists records to SQLite using json_extract-based querying. |
|
timeutil
Package timeutil defines the canonical time format used everywhere in the project: storage records, wire protocols, log lines, file names.
|
Package timeutil defines the canonical time format used everywhere in the project: storage records, wire protocols, log lines, file names. |
|
toolstream
Package toolstream provides typed event dispatch over a Unix-domain-socket transport.
|
Package toolstream provides typed event dispatch over a Unix-domain-socket transport. |
|
tracing
Package tracing schedules Node tracers and manages their lifecycle.
|
Package tracing schedules Node tracers and manages their lifecycle. |
|
utils/fileutil
Package fileutil provides utility functions for file operations.
|
Package fileutil provides utility functions for file operations. |
|
utils/kernaddr
Package kernaddr encodes and decodes 64-bit kernel pointers as hex strings.
|
Package kernaddr encodes and decodes 64-bit kernel pointers as hex strings. |
|
version
Package version centralizes CLI build/version metadata across cmd/*.
|
Package version centralizes CLI build/version metadata across cmd/*. |
|
watch
Package watch provides a generic fan-out pub/sub hub.
|
Package watch provides a generic fan-out pub/sub hub. |
|
pkg
|
|
|
metric
Package metric provides the metrics collection framework used by HuaTuo to expose runtime observability data via Prometheus.
|
Package metric provides the metrics collection framework used by HuaTuo to expose runtime observability data via Prometheus. |
|
metric/runtime
Package runtime registers process, Go runtime, and application information metrics.
|
Package runtime registers process, Go runtime, and application information metrics. |
|
profiling/store
Package store defines the persisted profiling result and its storage access.
|
Package store defines the persisted profiling result and its storage access. |
|
tracing/store
Package store defines tracing documents and their persistence behavior.
|
Package store defines tracing documents and their persistence behavior. |
|
types
Package types defines the public data types and sentinel errors shared across HuaTuo components and exposed to external consumers.
|
Package types defines the public data types and sentinel errors shared across HuaTuo components and exposed to external consumers. |
Click to show internal directories.
Click to hide internal directories.


