Documentation
¶
Overview ¶
order_pipeline is an end-to-end showcase of bubblepprof instrumentation on a realistic-looking workload. It simulates a small order-checkout service: a synthetic traffic generator feeds a pool of ingest workers, each order fans out into fraud / dispatch / inventory / recommendation stages, then funnels through payment authorization and receipt rendering, with per-tenant aggregators retaining recent receipts so the memusage endpoint has meaningful per-bubble heap.
The standard runtime/pprof endpoints are still mounted at /debug/pprof because bubblepprof does not replace pprof; it augments it.
Try it:
go run ./examples/order_pipeline -duration 30s &
curl -X POST http://127.0.0.1:6060/debug/memusage \
-H 'Content-Type: application/json' \
-d '{"labels":{"tenant":"atlas-bikes"}}'
Click to show internal directories.
Click to hide internal directories.