Member-only story
Handle traces gracefully using Grafana Tempo
With the growing number of requests coming to your distributed system, your tracing backend will need to handle more and more traces which can be challenging. Well, Grafana Tempo is built for just that.
Let’s say you’re building your tracing backend using Grafana Tempo, along with the help of Grafana for visualization and Prometheus, Memcached for storing data.
First, clone the sample project for deploying the tracing backend and xk6-tracing service using docker compose
.
git clone https://github.com/cuongld2/xk6-tracing-example.git
Then create a new directory to store the Grafana Tempo data.
cd xk6-tracing-example
mkdir tempo-data
To bring up the services, run the following command.
docker compose up -d
You should be able to see the following containers up and running.
In the deployed services, notice that we have k6-tracing-1 container, which is a tracing tool to…