Fix RabbitMQ Propagation

Verify Correlation

10 minutes

In this step, you’ll confirm that traces flow continuously from payment gateway to fulfilment-api as a single trace in Splunk Observability Cloud.

Correlation Validation

Place a Test Order

Validation

Place new orders after redeploy - messages published before the fix will not carry trace context.
bash
curl -s -X POST http://localhost:30080/api/purchases \
  -H "Content-Type: application/json" \
  -d '{"productId":"filter-nebula-uhc","quantity":1,"customerEmail":"propagation-test@cosmic.shop"}' \
  | python3 -m json.tool

sleep 2
kubectl -n cosmic-shop logs deployment/fulfillment-worker --tail=3

Verify in Splunk APM

  1. Navigate to APM → Trace Analyzer
  2. Filter:
    • Environment: workshop-$INSTANCE
    • Services: payment-api
  3. Select a trace with payment-api: POST POST initiating operation

You will now see the correlation between the payment and the fulfilment services

rabbitmq-fix

Last Modified ·