sqltrace

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package sqltrace opens database/sql handles whose queries join the active trace. Spans carry the operation and database system but never SQL text or arguments.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(driverName, dsn string) (*sql.DB, error)

Open is sql.Open with a span per query, parented to the caller's context. SQL text and arguments are never recorded; they can carry credentials and user data.

Types

This section is empty.

Jump to

Keyboard shortcuts

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