SQL Expressions: Add internal GMS traces (#104836)

get trace from inside GMS
This commit is contained in:
Kyle Brandt authored and GitHub committed 2025-05-09 14:48:47 -04:00
1 parent feb1ac5ba7
commit 6a6ba723a9
4 files changed
+49 -11

No files matched your search

+1 -1
View File
@@ -143,7 +143,7 @@ func (gr *SQLCommand) Execute(ctx context.Context, now time.Time, vars mathexp.V
logger.Debug("Executing query", "query", gr.query, "frames", len(allFrames))
db := sql.DB{}
frame, err := db.QueryFrames(ctx, gr.refID, gr.query, allFrames)
frame, err := db.QueryFrames(ctx, tracer, gr.refID, gr.query, allFrames)
rsp := mathexp.Results{}
if err != nil {