Functionsยง
- extract_
table_ name - Extract the table name from a simple SQL query. Returns None for complex queries or when table cannot be determined.
- instrumented_
query - Execute a database operation with tracing instrumentation. This creates a span and records the duration as a metric.
- record_
pool_ metrics - Record pool connection metrics from a PgPool.
- record_
query_ duration - Record a query execution with its duration.