Open knightrun opened 8 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
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
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.
@knightrun Could you share stdout logs for pinpoint-node-agent ?
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.