Disable via environment variable
PANDAPROBE_ENABLED=false:
- The SDK does not initialize a client
- Python’s
pandaprobe.get_client()returnsNone; TypeScript’sgetClient()returnsnull flush()andshutdown()silently do nothing- Python and TypeScript decorators pass through transparently
- Wrappers return the original client unchanged
- Integrations do not submit traces
Disable via init()
- Python
- TypeScript
Python
Environment-based configuration
Common pattern using different configurations per environment:Python
TypeScript
Conditional tracing without disabling
If you want the SDK enabled but want to conditionally trace specific operations:Python
TypeScript

