SSE: improve error handling in DSNode (#71468)
* add data source uid to QueryError * add error and datasource uid to tracing * split queryDataResponseToResults to two functions one to extract frame from the result, and another to convert it * propagate logger with context to convertDataFramesToResults
This commit is contained in:
@@ -16,7 +16,7 @@ import (
|
||||
"go.opentelemetry.io/otel/attribute"
|
||||
)
|
||||
|
||||
func shouldUseDataplane(frames data.Frames, logger *log.ConcreteLogger, disable bool) (dt data.FrameType, b bool, e error) {
|
||||
func shouldUseDataplane(frames data.Frames, logger log.Logger, disable bool) (dt data.FrameType, b bool, e error) {
|
||||
if disable {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user