built.WithOrchestrion & //dd:orchestrion-enabled
Flip a boolean to true if Orchestrion is enabled.
⚠️
This aspect allows introducing conditional logic based on whether
Orchestrion has been used to instrument an application or not. This should
generally be avoided, but can be useful to ensure the application (or tests)
is running with instrumentation.
Initialize to true
All of
- Package-level
const
orvar
bool
- One of
- Declaration of
built.WithOrchestrion
- Has directive
//dd:orchestrion-enabled
Set initial value to:
true