View a markdown version of this page

Configure the CloudWatch agent with OpenTelemetry (recommended) - Amazon CloudWatch

Configure the CloudWatch agent with OpenTelemetry (recommended)

With the OpenTelemetry configuration, the agent sends metrics, logs, and traces to the CloudWatch OpenTelemetry Protocol (OTLP) endpoints. Metrics use OpenTelemetry semantic conventions and keep their labels, and you query them with PromQL. You define this configuration in the opentelemetry section of the agent configuration file. For a comparison with the Classic configuration, see Choose a configuration model for the CloudWatch agent.