Create sample from data

Hello,

I wanna know if it’s possible to create samples from data (e.g., http request response).
I run http requests to run long tasks, but I want to get performances results from another source (e.g., prometheus, database) and generate sample to create stats on.

I don’t find a way of doing that and wonder if it’s really possible.

thanks in advance

Paul