microbs-io / microbs-app-ecommerce

Apache License 2.0
0 stars 3 forks source link

Support real user monitoring (RUM) #4

Open davemoore- opened 1 year ago

davemoore- commented 1 year ago

Observability platforms increasingly are providing support for real user monitoring (RUM). The ecommerce app should include this data in its demos. Generally, this requires importing a vendor-specific Javascript instrumentation library. The web-gateway service would need to use the instrumentation library of the chosen observability plugin (if the plugin implements RUM).

davemoore- commented 1 year ago

This may also require a second form of synthetic traffic generation. Currently traffic generation is purely HTTP-based. RUM will require headless browsers to render Javascript and the DOM, which is slower and more resource intensive. I'd propose having a combination of both, using the more lightweight traffic generation to generate more metrics, and using a smaller number of headless browser traffic to generate a representative sample of RUM data.