Hyperstack Agent is a Go-based VM monitoring agent with embedded node and GPU probes. It collects VM metrics and submits them to a compatible Hyperstack gateway.
Installation is handled by the Hyperstack platform.
task build-linux-amd64
task build-linux-arm64Build artifacts are written to bin/.
HYPERSTACK_URL="http://localhost:8000" task runInstall pre-commit then run:
pre-commit installHooks run automatically on git commit. To run them manually:
pre-commit run --all-filesThe agent is configured through environment variables:
HYPERSTACK_URL: Gateway base URL. Defaults tohttp://localhost:8000.HYPERSTACK_INTERVAL: Collection interval. Defaults to15s.HYPERSTACK_ENABLE_NODE: Enable node metrics. Defaults totrue.HYPERSTACK_ENABLE_GPU: Enable GPU metrics. Defaults totrue.HYPERSTACK_HEALTH_ADDR: Health and self-metrics bind address. Defaults to127.0.0.1:9100.METADATA_URL: Optional metadata service URL override.
task build-linux-amd64 # build linux/amd64 binary
task build-linux-arm64 # build linux/arm64 binary
task run # run agent locally
task test # run Go tests
task static # build a static linux/amd64 binary
task clean # remove build artifactsReleases are created automatically by CI when a semver tag is pushed. The
release job runs after test, lint, and scan all pass, then uses
GoReleaser to build the binary and create the GitHub Release.
git tag v1.2.3
git push origin v1.2.3Tags must match v[0-9]+.[0-9]+.[0-9]+ (e.g. v1.2.3). Tags with a
pre-release segment (e.g. v1.2.3-alpha) are published as pre-releases.
Each release contains:
hyperstack-agent_linux_amd64— raw binary, no archive wrapperchecksums.txt— SHA-256 checksum
Licensed under the Apache License, Version 2.0. See LICENSE.