GraalVM native-image distribution of Apache SkyWalking OAP server

Clone this repo:
  1. a6205e7 Sync upstream to cb632100a5: TAL live debugging and the trace-pairing-debugging module (#53) by 吴晟 Wu Sheng · 4 days ago main
  2. c96a8a3 Retire the config class copies: write a field no setter writes through Field.set, as upstream (#52) by 吴晟 Wu Sheng · 7 days ago
  3. fd22029 Split the precompiler into one class per pass, and cache the e2e tools' Go modules in CI (#51) by 吴晟 Wu Sheng · 7 days ago
  4. 7aed72f Sync upstream to 4bb9a61839 (every DSL engine fails loudly) and align the distro's re-implementation with upstream (#50) by 吴晟 Wu Sheng · 7 days ago
  5. f78c20f Boot the modules application.yml names through the module SPI, as upstream (#49) by 吴晟 Wu Sheng · 11 days ago

SkyWalking GraalVM Distro (Experimental)

Apache SkyWalking is an open-source APM and observability platform for distributed systems, providing metrics, tracing, logging, and profiling capabilities.

SkyWalking GraalVM Distro is a distribution of the same Apache SkyWalking OAP server, compiled as a GraalVM native image on JDK 25. It moves all dynamic code generation (OAL, MAL, LAL, Hierarchy via ANTLR4 + Javassist) and classpath scanning from runtime to build time, producing a ~203MB self-contained native binary with the full OAP feature set. No upstream source modifications required.

Key Differences from Upstream

  • Native binary instead of JVM — instant startup, ~512MB memory footprint
  • BanyanDB only — the sole supported storage backend
  • Built-in module set — the modules and providers are chosen at build time; application.yml turns each on or off (a - selector, e.g. SW_RECEIVER_PPROF=-) and picks its provider, as upstream
  • Pre-compiled DSL — all DSL rules compiled at build time; the rule catalogs and the live debugger work, runtime hot-update does not

All existing SkyWalking agents, UI, and tooling work unchanged.

Quick Start

docker run -d \
  -p 12800:12800 \
  -p 11800:11800 \
  -e SW_STORAGE_BANYANDB_TARGETS=<banyandb-host>:17912 \
  apache/skywalking-graalvm-distro:latest

Docker Images

RegistryImage
Docker Hubapache/skywalking-graalvm-distro
GHCRghcr.io/apache/skywalking-graalvm-distro

Available for linux/amd64 and linux/arm64. macOS arm64 (Apple Silicon) native binary is available on the GitHub Release page.

Documentation

Full documentation is available at skywalking.apache.org/docs.

License

Apache License 2.0