pinpoint-apm / pinpoint-docker

Official Dockerized components of the Pinpoint
http://pinpoint-apm.github.io/pinpoint/
Apache License 2.0
451 stars 227 forks source link

Realtime Active Thread Chart and wss (websocket protocol) #188

Open jogilsang opened 5 months ago

jogilsang commented 5 months ago

hi

i want "Realtime Active Thread Chart" It works fine on very old stable versions (1.7.3)

image

but Not in the latest version (2.5.x) I don't understand why there is no response here for 'wss://pinpoint.chogilsang.net/agent/activeThread.pinpointws.' (Network firewall is all open about tcp,udp) image

The version of the service was changed to a replacement version and installed. In the developer tools, it says that an error occurred in the source part.

image

thanks


Env

AWS (user -> Route53 -> ALB(using ACM) -> EC2(pinpoint)

ga-ram commented 5 months ago

It may got mixed up when I modified some properties for v3.0.0 Please force reset to this commit and try again. image If it still doesn't work, any logs might be helpful.

jogilsang commented 5 months ago

I think the version has an effect. I don't use git very well, so from what I understand, I think it should be done as below. However, the above was carried out in 2.5.3. Am I right? Where would you like to share the log?

git clone -b 2.5.3 https://github.com/pinpoint-apm/pinpoint-docker.git
cd pinpoint-docker
rm -rf docker-compose-metric.yml
docker-compose pull
docker-compose -f docker-compose.yml up -d
ga-ram commented 5 months ago

yes that works too please share pinpoint-web, pinpoint-collector logs here

jogilsang commented 4 months ago

i share log files I got the log through the process below After logging, I proceeded with the above actions.

docker ps | grep web
docker logs -f .... >> pinpoint_web.log
docker ps | grep collector
docker logs -f .... >> pinpoint_collector.log

pinpoint_web.txt pinpoint_collector.txt

jogilsang commented 4 months ago

@ga-ram hello I have attached the log, but if you need any additional information, please let me know.

ga-ram commented 4 months ago

When I checked provided logs, there was no logs of active thread count handler involved in web and there's no trace of stream channel activities in collector. I tested with v2.5.3 but it works well as previous versions.

Screenshot 2024-02-21 at 2 53 03 PM Screenshot 2024-02-21 at 2 49 40 PM

Only differences between your screenshots and mine are ws:// and wss://. I assume your environment has additional configurations regrading wss and you need to check that part.