package
1.2.2
Repository: https://github.com/90poe/otsql.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
WithAllowRoot if set to true, will allow hook to create root spans in absence of exisiting spans or even context.
WithDefaultAttributes will be set to each span as default.
WithInstanceName sets database instance name.
WithLastInsertID if set to true, will enable the creation of spans on LastInsertId calls.
WithOptions sets our hook tracing middleware options through a single Options object.
WithPing if set to true, will enable the creation of spans on Ping requests.
WithQuery if set to true, will enable recording of sql queries in spans.
WithQueryParams if set to true, will enable recording of parameters used with parametrized queries.
WithResetSession if seto to true, will enable the creation of spans on ResetSession calls.
WithRowsAffected if set to true, will enable the creation of spans on RowsAffected calls.
WithRowsClose if set to true, will enable the creation of spans on RowsClose calls.
WithRowsNext if set to true, will enable the creation of spans on RowsNext calls.
WithSpanNameFormatter sets name for each span.

# Structs

No description provided by the author
Options holds configuration of our tracing hook.

# Type aliases

Option allows for managing trace configuration using functional options.