The image shows the architecture for monitoring and tracing microservices with Oracle Cloud Infrastructure Application Performance Monitoring Cloud Service (APM).
The architecture includes a single Oracle Cloud Infrastructure (OCI) region that provides APM and APM Domain services. Users access microservices from the internet. The APM browser agent captures the user actions done on the browser.
The region includes 2 virtual cloud networks (VCNs). The primary VCN includes 2 subnets: a public subnet that includes a shared file system and a private subnet that includes an Oracle Container Engine for Kubernetes (OKE) cluster. The OKE cluster includes 2 microservices replicas, the APM Java Agent, and a persistent volume that connects to the shared file system. A secondary VCN includes a private subnet that provides Oracle Autonomous Transaction Processing as an example microservices deployment.
Data flow in this architecture is depicted by letter-labeled arrows between components:
After the Kubernetes pods are restarted, traces and spans from the server are sent to the APM domain where the data-upload endpoint URL is.
Collected data can be visualized in the APM dashboards and Trace Explorer for performance and availability analysis.