build(deps): bump uraimo/run-on-arch-action from 3.1.0 to 3.2.0 (#95)
Bumps uraimo/run-on-arch-action from 3.1.0 to 3.2.0.
updated-dependencies:
- dependency-name: uraimo/run-on-arch-action dependency-version: 3.2.0 dependency-type: direct:production update-type: version-update:semver-minor …
Signed-off-by: dependabot[bot] support@github.com Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
CTraces
CTraces is a small C library for creating and managing distributed trace data. It provides an in-memory trace model plus encoders and decoders for:
CTraces is a core library used by Fluent Bit.
Requirements
The repository pins CFL and fluent-otel-proto as Git submodules. MPack is vendored under
lib/mpack.Build
Clone the repository and its pinned dependencies:
For an existing checkout, initialize the dependencies with:
Configure and build the static library and tests out of source:
Available project options:
CTR_DEVOffCTR_TESTSOffCTR_EXAMPLESOffCTR_INSTALL_TARGETSOnTo build the complete development configuration:
The wrapper uses
build/agentby default. SetCTR_BUILD_DIRto use another out-of-source build directory.Test
Run all registered tests:
Or use the repository wrappers:
agent-test.shuses the build produced byagent-build.sh. The verification wrapper checks the shell scripts, builds the development configuration, and runs the complete test suite.Use the library
Public headers are installed under
include/ctraces. Start withctraces.hfor context lifecycle and follow the resource, scope, span, attribute, encoder, and decoder headers for focused APIs.examples/simple-c-api.cdemonstrates construction and cleanup of a complete trace. The other programs underexamples/show OpenTelemetry encoding and decoding.Install a configured build with:
Contributing
Repository architecture, ownership rules, compatibility-sensitive areas, and canonical validation commands are documented in
AGENTS.md. Detailed investigation, bug-fix, review, and cross-repository workflows live indocs/ai/.Keep changes focused and add regression coverage for behavior changes. Public headers and encoded formats are consumed outside this repository, particularly by Fluent Bit.
License
CTraces is licensed under the Apache License 2.0.