pinpoint-apm / pinpoint

APM, (Application Performance Management) tool for large-scale distributed systems.
https://pinpoint-apm.gitbook.io/
Apache License 2.0
13.37k stars 3.75k forks source link

inspector return error application data #7405

Open xmherz opened 3 years ago

xmherz commented 3 years ago

Request URL http://172.16.208.79:8080/getAgentList.pinpoint?application=pgt82&from=1605164479000&to=1605164779000

Then the applicationName trun into "pgt90".

Resonse {"localhost.localdomain":[{"applicationName":"pgt90","agentId":"api","startTimestamp":1605145752648,"hostName":"localhost.localdomain","ip":"fe80:0:0:0:b274:c33e:218:f3c7%ens160","ports":"","serviceType":"TOMCAT","pid":31114,"vmVersion":"1.8.0_242","agentVersion":"1.8.5"

koo-taejin commented 3 years ago

@xmherz

In my environment, I could not connect URL that you posted. So I have not checked it. But, it looks good that Response that you posted. Please, explain more detail what you might think problem it is.

thanks :)

xmherz commented 3 years ago

request paramter :application=pgt82 response data: applicationName: pgt90

the application data returned does not match what is requested.

koo-taejin commented 3 years ago

Among the agents belonging to pgt82, if the same agent ID belongs to pgt90, then this could happen. Please check it.

xmherz commented 3 years ago

yes, pgt82 and pgt90 have the same agent ID, because they are the same application but is deployed in different environments.

koo-taejin commented 3 years ago

Pinpoint does not allow same agentId. and API behavior is what we expected.

xmherz commented 3 years ago

This is unreasonable. pinpint 1.8.5 is ok,only 2.0.x above have this problem.