stdout

command module
v0.0.0-...-cf56b08 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL