Elasticsearch: Decouple backend from infra/tracing (#90528)

This commit is contained in:
Nathan Vērzemnieks
2024-07-19 00:26:10 -07:00
committed by GitHub
parent 9caa8151d8
commit f8c43d0bf3
14 changed files with 43 additions and 42 deletions

View File

@@ -11,7 +11,6 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/grafana/grafana/pkg/infra/tracing"
es "github.com/grafana/grafana/pkg/tsdb/elasticsearch/client"
)
@@ -1862,6 +1861,6 @@ func executeElasticsearchDataQuery(c es.Client, body string, from, to time.Time)
},
},
}
query := newElasticsearchDataQuery(context.Background(), c, &dataRequest, log.New(), tracing.InitializeTracerForTest())
query := newElasticsearchDataQuery(context.Background(), c, &dataRequest, log.New())
return query.execute()
}