SSE: (Chore) Update log line with context (trace) (#89172)
Improves log line to help with debugging in Server Side Expressions. In particular, the traceId, datasourceType, and datasourceUid will now be included.
This commit is contained in:
+1
-1
@@ -124,7 +124,7 @@ func (m *MLNode) Execute(ctx context.Context, now time.Time, _ mathexp.Vars, s *
|
||||
data = &backend.QueryDataResponse{Responses: map[string]backend.DataResponse{}}
|
||||
}
|
||||
|
||||
dataFrames, err := getResponseFrame(data, m.refID)
|
||||
dataFrames, err := getResponseFrame(logger, data, m.refID)
|
||||
if err != nil {
|
||||
return mathexp.Results{}, MakeQueryError(m.refID, "ml", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user