Documentation
¶
Overview ¶
Example basic_usage demonstrates the Detrix Go client usage.
Prerequisites:
Start the Detrix daemon first: $ detrix serve --daemon
Run this example (from clients/go directory): $ go run ./examples/basic_usage
The client will:
- Start a control plane server for remote management
- Stay in SLEEPING state (zero overhead)
- On wake(): start Delve and register with daemon
- Allow the daemon to set metrics/observation points
- On sleep(): stop debugger and unregister
Click to show internal directories.
Click to hide internal directories.