Skip to content

About

Application modernization with manual OpenTelemetry instrumentation and reproducible microservice build inputs for downstream CI/CD and Kubernetes delivery. Includes Docker Compose to .NET Aspire experiments.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

103 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Application Modernization Lab

Application Modernization Lab maintains two separate polyglot workloads with manual OpenTelemetry instrumentation, explicit build inputs and portable runtime requirements:

Workload Status
Online Shop Preserved accepted application baseline
Trail Supply Application modernization accepted by owner; SDP trusted release remains downstream

Trail Supply derives from Online Shop at 67b6cd85ae01c698bbf86904d953d5145b7b5820 using tracked content only. Each workload has its own build planner, contracts and validation tooling. Service identities and the online-shop telemetry namespace remain compatible. Historical experiments remain separate and unchanged. The detailed baseline documentation below describes Online Shop; Trail Supply's independent commands and evidence boundaries live in its own README.

Application and telemetry

The workload contains ten application services and a synthetic load generator:

Component Runtime Responsibility
frontend Go Storefront HTTP entry point
checkoutservice Go Checkout orchestration
productcatalogservice Go Product catalog
shippingservice Go Shipping quotes and simulated shipping
cartservice .NET Shopping carts backed by Redis
currencyservice Node.js Currency conversion
paymentservice Node.js Simulated payment processing
emailservice Python Dummy email confirmation
recommendationservice Python Product recommendations
adservice Java Advertisements
loadgenerator Python / Locust Synthetic shopping traffic

Redis is an external runtime dependency, with no local application source or Dockerfile. The accepted profile uses a standalone ephemeral cache: both Redis process restart and storage replacement lose carts. Image selection and runtime requirements remain in images.lock.json and redis.runtime.json.

All eleven source components explicitly initialize OpenTelemetry. Manual transport and business spans provide distributed tracing with W3C context propagation; bounded request/error counters and duration histograms support metrics; JSON stdout logs carry service identity and active trace/span IDs. Cartservice retains the native ASP.NET SERVER Activity and enriches it manually. SDK trace/metric export is opt-in. Log collection and telemetry backends belong to the consuming platform. Redis server metrics and native logs are separate infrastructure signals, without Redis SERVER spans or trace-correlated server logs.

Build inputs and runtime requirements

The source-to-build handoff defines eleven explicit build contexts, Dockerfiles, generated/shared inputs and a versioned consumer interface. build.contract.json and build_plan.py describe selected-revision plans; the planner does not build or publish images. External base images, package repositories and incomplete transitive locking prevent a promise of byte-identical builds.

The runtime handoff specifies service endpoints, configuration, telemetry differences and the portable Kubernetes profile. The profile uses digest-pinned linux/amd64 images and internal Services; it includes no deployment or telemetry infrastructure. Production exposure, persistence, policy and sizing require downstream review.

Instrumented sources and historical published images are distinct. Existing Docker Hub images are copies of upstream artifacts, not builds of these adapted sources; they do not establish that local branding or manual instrumentation is deployed. Local source-build acceptance is separate evidence. New publication, image-reference adoption and cross-project integration remain downstream work. Historical provenance gaps and Redis publisher lineage remain unresolved; no release approval is implied.

Documentation and validation

Document Scope
Build inputs Consumer interface, dependency limits and regeneration matrix
Runtime requirements Endpoints, settings, runtime differences and Kubernetes profile
Manual OpenTelemetry Traces, metrics, correlated logs, privacy and lifecycle
Redis Ephemeral cache, security, server collection and downstream handoff
Upstream and image origins Import record, attribution and historical image provenance
Static validation Original import checks and their limits
Build acceptance results Recorded clean-source builds of all eleven components
Telemetry validation instructions / results Isolated source-build harness and recorded signal/lifecycle checks
Redis acceptance results Recorded cache, outage/recovery, storage and collection checks

Results describe their recorded revisions and execution conditions, not a new validation run or deployment. Frozen evidence retains historical document paths. Bare BUILDING.md references in the unchanged machine contract refer to the document now under docs/.

Platform responsibilities

Repository Responsibility
Application Modernization Lab Application sources, instrumentation and build/runtime contracts
CI Build Platform Build execution and image publication with actual revision/run evidence
Container Platform Release composition, artifact validation and eligibility review
SRE Platform Deployment and telemetry infrastructure

These are ownership boundaries and handoff requirements. Planned integration and downstream adoption are not completed by AML's local acceptance. Detailed image records and follow-ups remain in the upstream record and Redis handoff.

Modernization experiments

The separate modernization experiments preserve Docker Compose to .NET Aspire migrations, results and historical AI/agent-orchestration research.

About

Application modernization with manual OpenTelemetry instrumentation and reproducible microservice build inputs for downstream CI/CD and Kubernetes delivery. Includes Docker Compose to .NET Aspire experiments.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages