Skip to content

Monitor DigitalOcean GenAI (pydo) using OpenTelemetry

Shield360 uses OpenTelemetry Auto-Instrumentation to help you monitor LLM applications built on DigitalOcean’s GenAI Platform via the pydo SDK. This includes tracking performance, token usage, costs, cache hits, and how users interact with chat completions, embeddings, the Anthropic-style messages API, the OpenAI-style Responses API, and DigitalOcean Agents.

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

The integration is compatible with:

  • DigitalOcean pydo Python SDK >= 0.10.0 (sync pydo.Client and async pydo.aio.Client)
Install Shield360

Open your command line or terminal and run:

Terminal window
pip 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.