mirror of
https://github.com/grafana/grafana.git
synced 2024-11-23 01:16:31 -06:00
Elasticsearch: Clean up query print leftover (#76543)
Clean query print left over
This commit is contained in:
parent
5a62a97056
commit
e0f32f4363
@ -54,7 +54,6 @@ func (e *elasticsearchDataQuery) execute() (*backend.QueryDataResponse, error) {
|
||||
from := e.dataQueries[0].TimeRange.From.UnixNano() / int64(time.Millisecond)
|
||||
to := e.dataQueries[0].TimeRange.To.UnixNano() / int64(time.Millisecond)
|
||||
for _, q := range queries {
|
||||
fmt.Printf("Query = %v", q)
|
||||
if err := e.processQuery(q, ms, from, to); err != nil {
|
||||
mq, _ := json.Marshal(q)
|
||||
e.logger.Error("Failed to process query to multisearch request builder", "error", err, "query", string(mq), "queriesLength", len(queries), "duration", time.Since(start), "stage", es.StagePrepareRequest)
|
||||
|
Loading…
Reference in New Issue
Block a user