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:
1 parent
64aa5465ac
commit
9e76d6372c
2 files changed
+49
-22
No files matched your search
@@ -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