Agent with OpenTelemetry Collector
How-to create and register the Monte Carlo Agent with the OpenTelemetry Collector
Overview
Monte Carlo offers the ability to monitor traces produced by your AI agents by collecting instrumentation using OpenTelemetry. To begin monitoring your AI agents you need to deploy the Monte Carlo Agent along with the OpenTelemetry Collector.
For the OpenTelemetry Collector, you can choose between two deployment options:
- Self-Hosted Collector - Deploy the OpenTelemetry Collector service and trace storage in your account.
- Monte Carlo-Hosted Collector - Use Monte Carlo's hosted OpenTelemetry Collector service and only deploy the trace storage in your account. NOTE: this is only available for AWS at this time.
The deployment process varies depending on your cloud provider and preferred IaC tools. Select the guide relevant to your vendor and IaC tool to create and register an Agent with the OpenTelemetry Collector:
| Cloud Vendor | IaC Tool | Guide |
|---|---|---|
| AWS | CloudFormation | Deploy the Agent with OpenTelemetry Collector to AWS with CloudFormation |
| AWS | Terraform | Deploy the Agent with OpenTelemetry Collector to AWS with Terraform |
| GCP | Terraform | Deploy the Agent with OpenTelemetry Collector to GCP with Terraform |
Network Access Control
You can restrict access to the OpenTelemetry collector endpoint by IP address using Network Access Control Lists. See Network Access Control for setup and configuration details.
FAQs
What if I already have an Agent deployed?
Not a problem! The OpenTelemetry Collector can be deployed alongside your existing Agent. Choose the guide for the appropriate vendor above for instructions.
Updated 12 days ago
