Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No data collected for a Spring Boot application #6563

Open
devnewton opened this issue Mar 4, 2020 · 9 comments
Open

No data collected for a Spring Boot application #6563

devnewton opened this issue Mar 4, 2020 · 9 comments

Comments

@devnewton
Copy link

@devnewton devnewton commented Mar 4, 2020

Prerequisites

  • I have checked the FAQ, and issues and found no answer.

What version of pinpoint are you using?

1.8.5

Describe your problem**

I have setup an pinpoint-docker instance to monitor a Spring Boot application.

All dashboard are empty with "No data collected" message.

What have you done?

Steps you have taken to trigger the problem, for example:

  1. Started pinpoint-docker
  2. Started a Spring Boot application (as an executable war) with pinpoint agent attached
  3. The application shows up into the web UI.
  4. No trace shows up in the web UI ("No data collected" message.)

Screenshots

image

Logs

agent.zip

@jaehong-kim

This comment has been minimized.

Copy link
Contributor

@jaehong-kim jaehong-kim commented Mar 5, 2020

@devnewton
Did you send a request to the server?
If so, what kind of request do you send?
HTTP or Websocket?

@devnewton

This comment has been minimized.

Copy link
Author

@devnewton devnewton commented Mar 5, 2020

I send some simple http requests (GET and POST).

@kumar4sun

This comment has been minimized.

Copy link

@kumar4sun kumar4sun commented Mar 13, 2020

I am seeing the same issue and keep on seeing
Info
There is no data.

Sent multiple request to the springboot app but no luck

@jaehong-kim

This comment has been minimized.

Copy link
Contributor

@jaehong-kim jaehong-kim commented Mar 16, 2020

@kumar4sun

This comment has been minimized.

Copy link

@kumar4sun kumar4sun commented Mar 18, 2020

@jaehong-kim newer version has lots of issues and i am not even able to bing up the containers.

@RoySRose

This comment has been minimized.

Copy link
Contributor

@RoySRose RoySRose commented Mar 19, 2020

Hello, @kumar4sun
If you were using images from https://github.com/naver/pinpoint-docker
There were some issues with the images and now solved with help from contributors.
You can try it again. and if you find any more issues you can post an issue at pinpoint-docker repository.

@ChenXiaoTemp

This comment has been minimized.

Copy link

@ChenXiaoTemp ChenXiaoTemp commented Mar 20, 2020

I found that,if you use pinpoint docker , you need use profiler.transport.module=THRIFT and you need change the configuration of exposed ports of pinpoint-collector in pinpont-docker/docker-compose.yaml to expose 9994,9995,9996 with tcp and udp protocol

The pinpoint agent default use GRPC , I do not kown why it can not work, I try to detect whether the port for GRPC port is open , I found if I use nc -vuz localhost 9993 on the docker host machinne, it tells succefully, but if I use IP (i.e. nc -vuz my-ip 9993) then it failed.

I do not know why

But I changed to thrift and expose 9994,9995,9996 it works.

@ChenXiaoTemp

This comment has been minimized.

Copy link

@ChenXiaoTemp ChenXiaoTemp commented Mar 20, 2020

I use 2.0.1 version

@RoySRose

This comment has been minimized.

Copy link
Contributor

@RoySRose RoySRose commented Mar 20, 2020

Thank you for the sharing @ChenXiaoTemp.

But exposing thrift port should not be the issue for docker image v.1.8.5.
Since the default protocol has been changed since v2.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.