StrandsAgentInstrumentor
API reference for StrandsAgentInstrumentor
StrandsAgentInstrumentor
Example
from strands.telemetry import StrandsTelemetry
from fiddler_strandsagents import StrandsAgentInstrumentor
telemetry = StrandsTelemetry()
telemetry.setup_otlp_exporter()
# Enable instrumentation
instrumentor = StrandsAgentInstrumentor(telemetry)
instrumentor.instrument()
# Create agents - hooks are automatically injected
agent = Agent(model=model, system_prompt="...")Parameters
Parameter
Type
Required
Default
Description
instrumentation_dependencies()
Returns
instrument()
Parameters
Example
uninstrument()
Parameters
Example
property is_instrumented_by_opentelemetry : bool
Returns
Example
Last updated
Was this helpful?