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

Closed
1 task done
ghost opened this issue Mar 4, 2020 · 10 comments
Closed
1 task done

No data collected for a Spring Boot application #6563

ghost opened this issue Mar 4, 2020 · 10 comments
Labels

Comments

@ghost
Copy link

ghost 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
Copy link
Contributor

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

@ghost
Copy link
Author

ghost commented Mar 5, 2020

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

@amit4aws
Copy link

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
Copy link
Contributor

@devnewton @kumar4sun
Please retry with version 2.0.1.
https://github.com/naver/pinpoint/releases/tag/v2.0.1

@amit4aws
Copy link

amit4aws commented Mar 18, 2020

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

@RoySRose
Copy link
Collaborator

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
Copy link

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
Copy link

I use 2.0.1 version

@RoySRose
Copy link
Collaborator

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

@stale
Copy link

stale bot commented Apr 19, 2020

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.

@stale stale bot added the stale label Apr 19, 2020
@stale stale bot closed this as completed May 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants