Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 569 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 569 Bytes

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