首页 » 运维相关 » APM性能 » PINPOINT采集不到数据

PINPOINT采集不到数据

 
文章目录

问题描述

pinpoint1.8.3对tomcat web项目的数据收集及显示正常,对springboot项目的数据收集不到,pinpoint-web中虽然显示applicationName和agentid,但是没有任何数据显示。

解决方法

修改pinpoint-agent的配置文件pinpoint.config,将原来TOMCAT方式改为SPRING_BOOT

profiler.applicationservertype=SPRING_BOOT
profiler.tomcat.conditional.transform=false

问题描述

pinpoint收集到的数据远小于实际请求,对项目发送数十次请求后,pinpoint-web仅显示数条请求数据,远远小于实际的请求次数。

解决方法

pinpoint-agent配置文件pinpoint.config默认配置profiler.sampling.rate=20,即仅采样5%的事务,每20次请求只收集显示1次请求数据。

#1 out of n transactions will be sampled where n is the rate. (20: 5%)

profiler.sampling.rate=20

如果将此选项设置为1,则代理将每1个事务(100%采样)跟踪一次,如果将其设置为10,则每10个事务(10%采样)跟踪一次

原文链接:PINPOINT采集不到数据,转载请注明来源!

8