Skip to content

AWS Copilot v1.17: Tracing for Request-Driven Web Services

It's only been a week since v1.16! The AWS Copilot core team, together with AWS App Runner, is announcing support for integrated tracing using AWS X-Ray with OpenTelemetry. To learn more about App Runner's release, see here. For enabling tracing for your Request-Driven Web Services in Copilot, see detailed section.

Special shout-out to @kangere who contributed to this release. Our public сommunity сhat is growing and has over 270 people online, who help each other daily. Thanks to every one of you who shows love and support for AWS Copilot.

Copilot v1.17 brings a brand-new feature and several improvements:

  • Tracing for Request-Driven Web Service: With the release of AWS X-Ray tracing support for AWS App Runner services, you can now add observability.tracing: awsxray in your Request-Driven Web Service's manifest to send your traces to AWS X-Ray. See detailed section.
  • Allow disabling of Scheduled Jobs: Easily toggle your Scheduled Job off by setting your schedule to "none" in your manifest, disabling the event rule. (#3447)
    on:
      schedule: "none"
    
  • Increased visibility for progress trackers: Now progress trackers are showing more information, such as the creation of HTTP listener rules. (#3430 & #3432).
  • Bug fix: Remove color formatting of suggested pipeline names (#3437).

There is no breaking change in this release.

What’s AWS Copilot?

The AWS Copilot CLI is a tool for developers to build, release, and operate production ready containerized applications on AWS.
From getting started, pushing to staging, and releasing to production, Copilot can help manage the entire lifecycle of your application development. At the foundation of Copilot is AWS CloudFormation, which enables you to provision infrastructure as code in a single operation. Copilot provides pre-defined CloudFormation templates and user-friendly workflows for different types of micro services creation and operation, enabling you to focus on developing your application, instead of writing deployment scripts.

See the section Overview for a more detailed introduction to AWS Copilot.

Send Your Request-Driven Web Service's Traces to AWS X-Ray

Contributed by Wanxian Yang

You can now send traces generated by your Request-Driven Web Services to AWS X-Ray. This allows you to visualize the service map and traces through the Amazon CloudWatch console or AWS X-Ray console.

To use this feature, your service needs to be first instrumented with AWS Distro for OpenTelemetry. You can either manually instrument your service, or for a quicker, easier set up, auto-instrument your service through your Dockerfile without changing the application code.

After instrumenting your service, simply modify your Request-Driven Web Service's manifest to include the observability configuration:

observability:
  tracing: awsxray

After running copilot svc deploy, traces generated by your service will get sent to AWS X-Ray, allowing you to measure the current state of your services easily.

What’s next?

Download the new Copilot CLI version by following the link below and leave your feedback on GitHub or our Community Chat: