Appearance
Instrumentation Methods
Install the SDK first:
bash
pip install --extra-index-url https://arms-packages.elsaifoundry.ai/root/elsai-arms/ elsai-arms==3.0.3ARMS SDK offers two ways to add opentelemetry-native observability to your AI applications:
Zero-code instrumentation is a runtime wrapper with no code changes. Use it for existing or production apps, or when code changes are restricted:
bash
elsai-arms-instrument python app.pyManual instrumentation adds two lines to your code. Use it for new apps, custom spans or metadata, and advanced configuration:
python
import elsai_arms
elsai_arms.init()Comparison
| Zero-code instrumentation | Manual instrumentation | |
|---|---|---|
| Code changes | None | 2 lines |
| Advanced features | Basic configuration | Full access to custom spans, metadata |
| Setup time | Instant | 1 minute |
| Best for | Production apps, Existing Apps | New apps, custom needs |