grafana / pyroscope

Continuous Profiling Platform. Debug performance issues down to a single line of code
https://grafana.com/oss/pyroscope/
GNU Affero General Public License v3.0
10.13k stars 614 forks source link

Add rideshare example for integrating with k6 #3648

Closed bryanhuhta closed 4 weeks ago

bryanhuhta commented 1 month ago

This is more or less a copy of the existing Go Rideshare example, but now with k6 middleware added to the handlers.

To make the load test script easier to understand, I opted to add an nginx proxy in front of the ride share services. This means the k6 load test script can make requests to a single endpoint instead of having to add extra logic to evenly distribute load across all the services.

cc @Rperry2174