如何测量API调用的响应时间?
问题描述:
我已经在Spring Boot中实现了一个可以成功完成所有RESTful调用的API。如何测量API调用的响应时间?
作为作业的额外信用部分,我需要跟踪对RESTful服务的所有调用的响应时间,并且能够将线图上的数据可视化。
他们建议使用我已经下载的grafana。
我只是不知道如何,我将能够跟踪每个呼叫
我已经在Spring Boot中实现了一个可以成功完成所有RESTful调用的API。如何测量API调用的响应时间?
作为作业的额外信用部分,我需要跟踪对RESTful服务的所有调用的响应时间,并且能够将线图上的数据可视化。
他们建议使用我已经下载的grafana。
我只是不知道如何,我将能够跟踪每个呼叫