Skip to content

Instrumentation Methods

Install the SDK first:

bash
pip install --extra-index-url https://arms-packages.elsaifoundry.ai/root/elsai-arms/ elsai-arms==3.0.3

ARMS 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.py

Manual 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 instrumentationManual instrumentation
Code changesNone2 lines
Advanced featuresBasic configurationFull access to custom spans, metadata
Setup timeInstant1 minute
Best forProduction apps, Existing AppsNew apps, custom needs

Copyright © 2026 elsai foundry.