Grafana Graph shows incomplete data

I am using Grafana Graph to plot data from AWS timestream DB.

Though the query to timestream is returning data set around 10K+, I see that only 4K data is getting is visualized in the Graph
Graph panel showing partial data

Query inspector, initially returns 12484 records
Immediately the record count is reduced to 4068

Could some one help me with reasoning as to why the result set is getting trimmed?

hello rejigl, welcome to the forums. please try to answer some questions also we need a lot of help!! but what you request is outperforming a normal graphana instantce. sorry for that.