Sitemap

Member-only story

Load test a distributed system using Grafana k6

When working with a distributed application, it’s vital to ensure your app working as expected with the growing number of users overtime. Hence, to confidently deploy your system, you need to run load test for it regularly. With Grafana k6 and opentelemetry, you’re be able to quickly test your app and monitor it thoroughly through traces.

Donald Le
3 min readMar 20, 2025
Photo by Tam Minton on Unsplash

In this article, let’s quickly deploy the distributed app using the opentelemetry-demo-app.

First, you clone the demo-app.

git clone https://github.com/cuongld2/opentelemetry-k6

Then go to the opentelemetry-demo directory

cd opentelemetry-k6/

To deploy the whole application, run the below make command. By default, the services will be deployed with port 8080 . If you want to change the default port, you need to set the ENVOY_PORT to another port value, say 8081 .

ENVOY_PORT=8081 make start

Wait for a few minutes for all your Docker containers to be up and running.

--

--

Donald Le
Donald Le

Written by Donald Le

A passionate automation engineer who strongly believes in “A man can do anything he wants if he puts in the work”.

No responses yet