1.1 Code Push to Deployment
Lifecycle (example)
Understand what happens from the moment you push your code to the moment it goes live on the platform. This knowledge helps you debug deploy issues, monitor rollout timing, and better collaborate with the platform team.
What You’ll Learn
  • How your code travels through build, packaging, and deployment stages

  • Which components are involved (CI, registry, deploy controller)

  • Where things might go wrong, and how to inspect each stage

Step-by-Step Lifecycle

The Benefits of Application Tracing
Monitoring tools usually provide overall information about system health, whereas tracing can provide a more detailed view of individual actions. Tracing can reveal not only that there is a problem but also precisely where it exists. This makes tracing highly effective and useful for distributed systems where issues can span multiple services or micro-services.
Diagnose the root causes
Tracing  links individual requests or transactions with specific code paths, user actions or service interactions. This contextual analysis helps to understand how different parts of an application affect each other and diagnose the root causes of an issue.
Prioritize fixes based on user impact
Tracing often provides insights into how backend issues affect the user experience. Traditional monitoring tools do not always connect system metrics to user experience outcomes. With tracing development teams can prioritize bug fixes based on user impact.
The Practical Implementation - Materials & Requirements
You can enable tracing in EKS. You should deploy an ADOT collector which should be configured for tracing.
receivers:
  otlp:
  protocols:
      grpc:
        endpoint: 0.0.0.0:4317
      http:
        endpoint: 0.0.0.0:4318
processors:
  filter/spans:
    spans:
      exclude:
        match_type: regexp
        attributes:
        - key: environment
          value: dev
  memory_limiter:
    limit_mib: 100
    check_interval: 5s
exporters:
  logging:
    loglevel: debug
  awsxray:
    region: "${region}"
service:
  pipelines:
    traces/to-aws-xray:
      receivers: [otlp]
      processors: ["memory_limiter","filter/spans"]
      exporters: ["awsxray","logging"] 
tip
In the dynamic world of software development and troubleshooting, application tracing plays a vital role in diagnosing and optimizing the performance of software applications. It serves as a powerful technique to gain insights into the inner workings of an application, identify bottlenecks, and debug issues. 

Icon
Icon
Icon
Icon
Icon
Icon
Icon
Icon
Icon
Loading calendar...