There are two ways to collect probe data without using the Workbench to launch your application. The first is to use the Probekit instrumentation engine to pre-apply the probe to your application before you deploy it. The second is to deploy your application, then launch it with a command line option that attaches the Hyades data collection agent to your application's Java™ process.
The following sections provide detailed instructions for using each method:
Pre-applying a Probe
When you pre-apply a probe, Probekit instruments your application by inserting probe code and calls to the probe's classes into your application's class files. You can specify the names of application class files, jar files, or folders on the command line that invokes the Probekit instrumentation engine.Removing Probekit Instrumentation
When you pre-apply a probe, the Probekit instrumentation engine inserts probe code and calls to the probe's classes into your application's class files. You can remove probe instrumentation when you no longer want to collect probe data. When you modify a probe that was pre-applied, you must remove the instrumentation before you can re-apply the probe.Using Probekit in Standalone Mode
You can collect probe data outside of the workbench without pre-applying the probes by using Probekit in standalone mode. In standalone mode, you launch your application from the command line and attach the Hyades data collection agent directly to your Java process.
Parent topic: Applying Probes