Need to add response time via custom script

Hi team,
We are trying to add a custom script written on PHP which generates response time of our applications. Could we add this PHP to piwik and can we show the data on our piwik site?

if there are options available, could you please let me know if this can be achieved



Piwik measures Page generation time, and you can customise the value it is using, see: Site speed and Page speed - Analytics Platform - Matomo