Skip to content

Monitor Replicate using OpenTelemetry

Shield360 uses OpenTelemetry Auto-Instrumentation to help you monitor AI applications built using the Replicate API. This includes tracking performance, model usage, and how users interact with your application.

Auto-instrumentation means you don’t have to set up monitoring manually for different models or providers. By simply adding Shield360 in your application, all the necessary monitoring configurations are automatically set up.

The integration is compatible with

  • Replicate JavaScript/TypeScript SDK client
Install Shield360

Open your command line or terminal and run:

Terminal window
npm install shield360
Initialize Shield360 in your Application

Perfect for existing applications - no code modifications needed:

Terminal window
# Configure via CLI arguments
shield360-instrument \
--service-name my-ai-app \
--environment production \
--otlp-endpoint YOUR_OTEL_ENDPOINT \
python your_app.py

Replace: YOUR_OTEL_ENDPOINT with the URL of your OpenTelemetry backend, such as http://127.0.0.1:4318 if you are using Shield360 and a local OTel Collector.

To send metrics and traces to other Observability tools, refer to the supported destinations.

For more advanced configurations and application use cases, visit the SDK configuration reference or TypeScript SDK reference.