Skip to content

Instrumentation Methods

Shield360 SDK offers two ways to add opentelemetry-native observability to your AI applications:

Zero-code instrumentation

Runtime wrapper, no code changes needed

Terminal window
shield360-instrument \
python app.py

Use when:

  • Working with existing/production apps
  • Code changes are restricted or risky
Manual instrumentation

Add 2 lines to your code for auto instrumentation

import shield360
shield360.init()

Use when:

  • Building new applications
  • Need custom spans or metadata
  • Want advanced configuration options
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