A MySQL client using database/sql with instrumentation. Then, the client prints the trace data to stdout and serves metrics data via prometheus client.
These instructions expect you have Docker Compose V2 installed.
Bring up all services to run the example:
docker compose up -dThen check the logs of client service to see the results:
docker compose logs clientShut down the services when you are finished with the example:
docker compose down