简体   繁体   English

如何在Suo逻辑中找到HTTP请求的响应时间

[英]How to find out the response time in sumo logic for a http request

I have an application which contains akka http endpoints integrated with sumo logic. 我有一个包含与相扑逻辑集成的akka​​ http端点的应用程序。 Each request has a trace ID. 每个请求都有一个跟踪ID。 and Now I want to see write query on sumo logic to retrieve the trace ID for a request which has response time > 5 seconds. 现在,我想查看关于相加逻辑的写查询,以检索响应时间> 5秒的请求的跟踪ID。 How to find out response time for a request in sumo ? 如何找出相扑中请求的响应时间? Can be this be calculated/fetched in sumo, without logging it explicitly ? 可以在相扑中计算/获取而不显式记录它吗?

It's not possible. 这是不可能的。 Sumo Logic - analize just based on data which you provide to it. Sumo Logic-仅根据您提供给它的数据进行分析。 So if you don't calculate response time on server and explicitly sent to Sumo it has no way to know it. 因此,如果您不计算服务器上的响应时间并显式发送给Sumo,则无法知道它。 For this task 'new relic' is good as it is integrated in php and have access to this kind of info. 对于此任务,“新文物”很好,因为它集成在php中并可以访问此类信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM