Pinpoint: Spring boot ,unable to collect data to submit to the controller

Created on 1 Nov 2017  ·  11Comments  ·  Source: pinpoint-apm/pinpoint

Description


Unable to collect the trace data

Environment


jdk :1.8.0_x
system :linux
springboot :spring boot 1.3.3
Pinpoint version: :agent 1.5.2 ,collector 1.5.2 ,web 1.5.2
hbase :1.0.3

Additional Info


Startup:
java -jar -javaagent:/usr/local/pinpoint-agent-1.5.2/pinpoint-bootstrap-1.5.2.jar
-Dpinpoint.agentId=uni076_norten
-Dpinpoint.applicationName=uni076_norten ./norten.jar

image

question stale

Most helpful comment

@Xylus If your team can provide support for springboot+Undertow, thank you very much!
I don't want to use Pinpoint just because of this problem.

All 11 comments

Hi @jacobsy
It looks like you have multiple dependencies on Tomcat, Undertow, Jboss, etc.
Which servlet container are you actually using/trying to trace with Spring Boot?

Please feel free to reopen the issue for further discussion.

I have the same problem, - - !

java -Djava.security.egd=file:/dev/./urandom -javaagent:/pinpoint-agent/pinpoint-bootstrap-1.7.0-RC1.jar -Dpinpoint.agentId=spring-boot-app -Dpinpoint.applicationName=spring-boot-app -jar /app.war

no information
default

Dockerfile
`
FROM java:openjdk-8-jre-alpine

ENV JHIPSTER_SLEEP 0

Install base packages 时区

RUN apk update && apk add curl bash tree tzdata \
&& cp -r -f /usr/share/zoneinfo/Hongkong /etc/localtime \
&& echo -ne "Alpine Linux 3.4 image. (uname -rsv)\n" >> /root/.built

add directly the war

ADD *.war /app.war
ADD pinpoint-agent /pinpoint-agent

VOLUME /tmp
EXPOSE 8080
EXPOSE 443
CMD echo "The springboot-app will start in ${JHIPSTER_SLEEP}s..." && \
sleep ${JHIPSTER_SLEEP} && \
java -Djava.security.egd=file:/dev/./urandom -javaagent:/pinpoint-agent/pinpoint-bootstrap-1.7.0-RC1.jar -Dpinpoint.agentId=spring-boot-app -Dpinpoint.applicationName=spring-boot-app -jar /app.war
`

Hi @vianppz
Are you running Tomcat in Spring Boot?
Also, do the stat charts in inspector view have data?

@Xylus undertow to tomcat is ok,thk!

@vianppz So you're running undertow on Spring Boot, right?
If so, we don't support undertow - https://github.com/naver/pinpoint#supported-modules

@Xylus If your team can provide support for springboot+Undertow, thank you very much!
I don't want to use Pinpoint just because of this problem.

@Xylus Your project is excellent.

This issue/proposal has been automatically marked as stale because it hasn't had any recent activity. It will automatically be closed if no further activity occurs for 20days. If you think this should still be open, or the problem still persists, just pop a reply in the comments and one of the maintainers will (try!) to follow up. Thank you for your interest and contribution to the Pinpoint Community.

Was this page helpful?
0 / 5 - 0 ratings