diff --git a/pkg/tsdb/tempo/tempo.go b/pkg/tsdb/tempo/tempo.go index f647f18bc8f..7f77c1e3f9f 100644 --- a/pkg/tsdb/tempo/tempo.go +++ b/pkg/tsdb/tempo/tempo.go @@ -60,6 +60,10 @@ func (e *tempoExecutor) Query(ctx context.Context, dsInfo *models.DataSource, ts return nil, err } + if dsInfo.BasicAuth { + req.SetBasicAuth(dsInfo.BasicAuthUser, dsInfo.DecryptedBasicAuthPassword()) + } + req.Header.Set("Accept", "application/protobuf") resp, err := e.httpClient.Do(req)