(db *sql.DB, fullTableName, tableSchema, tableName, columnName string)
| 494 | "user": c.username, |
| 495 | "team_id": c.teamID, |
| 496 | "trace_id": observe.TraceIDFromContext(c.ctx), |
| 497 | "protocol": protocol, |
| 498 | "query_kind": classifyQuery(cmdType), |
| 499 | "duration_ms": time.Since(start).Milliseconds(), |
| 500 | "cpu_seconds": profilingSummary.CPUTimeSeconds, |
| 501 | "result_rows": resultRows, |
| 502 | "application_name": c.applicationName, |
| 503 | }) |
| 504 | } |
| 505 | |
| 506 | ql := c.queryLogSink() |
| 507 | if ql == nil { |
| 508 | return |