pinpoint-apm / pinpoint-node-agent

Pinpoint Node.js agent
Apache License 2.0
56 stars 10 forks source link

Unable to Display React Application on Pinpoint Web GUI #175

Open knightrun opened 6 months ago

knightrun commented 6 months ago

Hi There,

In our project, we are using the serve module to run a React application.

The versions we are using are as follows: node: 20.10.0 pinpoint-node-agent: 0.8.3 react: 18.2.0 serve: 14.2.1

The execution command is as follows: PINPOINT_COLLECTOR_IP=$PINPOINT_COLLECTOR_IP PINPOINT_SAMPLING_RATE=$PINPOINT_SAMPLING_RATE PINPOINT_APPLICATION_NAME=$PINPOINT_APPLICATION_NAME PINPOINT_AGENT_ID=$PINPOINT_AGENT_ID node -r pinpoint-node-agent ./node_modules/serve/build/main.js dist -p 8000

I have confirmed that the environment variables are being injected into Pinpoint, but nothing is displayed on the pinpoint web GUI.

We would like to inquire if there are any alternative methods to display the application.

Thanks.

feelform commented 2 months ago

@knightrun Could you share stdout logs for pinpoint-node-agent ?