Question 1
AdvancedMonitor applications with deep visibility into end-user experience · Instrumenting Applications for APM
A financial services company is using OCI Application Performance Monitoring (APM) to trace transactions across a distributed microservices application. During a performance review, the team notices that traces for a specific high-volume, low-latency payment processing service are being heavily sampled, causing them to miss critical outlier transactions. They need to ensure 100% of traces for this specific service are captured without impacting the default sampling for other services. Which configuration should be implemented in the APM agent?
Answer and explanation
Correct answer: B
OCI APM agents support custom sampling filters that allow for granular control over trace collection. By defining a filter that targets the specific payment service (e.g., by URL path or service name) and setting its rate to 100 (always sample), you can ensure complete trace capture for that critical service while allowing other services to use the default sampling rate. This is the most precise and efficient method to meet the requirement.
