Skip to content

Latest commit

 

History

History

stdout

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

database/sql instrumentation stdout example

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 -d

Then check the logs of client service to see the results:

docker compose logs client

Shut down the services when you are finished with the example:

docker compose down