Go Agent

The SeaLights Go agent supports:

  • Go SDK: version 1.16 and above

  • Go generics: fully supported from Go SDK v1.18 onward

To provide coverage data, the agent performs automatic static instrumentation with zero third-party dependencies. This applies to both standalone Go applications and AWS Lambda functions (via SeaLights' Collector support).

Go does not support dynamic runtime instrumentation. Therefore, SeaLights uses build-time static instrumentation. This process prepends a lightweight registration call at the beginning of each method to track its execution during test runs. The method’s original logic remains untouched. In effect, this achieves the same outcome as dynamic agents in other languages like Java or .NET — it simply occurs earlier in the development lifecycle.

Last updated

Was this helpful?