zipkin-instrumentation-mysql2
This library is a wrapper for mysql2 for zipkin.
Usage
const Tracer = const mysql2 = const zipkinClient = const tracer = ctxImpl recorder // configure tracer here const wrappedMysqlClient = const connOptions = user: 'myuser' password: 'pass' host: 'localhost' database: 'dbname' const client = wrappedMysqlClient // Add your code hereclient
Thanks
Thanks to juspay for juspay/zipkin-instrumentation-mysql