Go Agent V2
Last updated
Was this helpful?
The SeaLights Go Agent provides code coverage and test intelligence for Go applications and services. It integrates directly into your Go build process to collect comprehensive coverage data during testing and deployment.
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).
Use the Go Agent when working with Go applications or Go test frameworks. You need to match the agent to the language of your Application Under Test or test runner:
Go applications → Use Go Agent in Coverage Listener Mode
Go test frameworks → Use Go Agent in Test Runner Mode
Golang 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.

Go's built-in testing package
Ginkgo BDD framework
Godog (Cucumber for Go)
AWS Lambda functions
Pivotal Cloud Foundry (PCF)
Docker containers
Kubernetes clusters
Traditional server deployments
Go modules (go.mod)
Custom build scripts
CI/CD pipelines (Jenkins, GitHub Actions, GitLab CI)
Last updated
Was this helpful?
Was this helpful?

