The Probe object describes a single probe that is contained within a Probekit object. There can be several probes in a Probekit object.
The Probe object is a container for other objects that describe the source code fragments, data items, imports, targeting, and other information that you can specify for a probe.
There are two types of probes; method probes, and callsite probes. Method probes are inserted into the body of any target method. Callsite probes are inserted into the body of any method that calls a target method.
<probe>
<import . . . />
<import . . . />
<fragmentAtClassScope>
. . .
</fragmentAtClassScope>
<fragment type="entry">
. . .
</fragment>
<fragment type="catch">
. . .
</fragment>
<target . . . />
</probe>
Parent topic: Probekit Reference
Related concepts
Probekit overview
Method probes versus callsite probes