instana / robot-shop

Sample microservices application for playing with
http://instana.com/
Apache License 2.0
866 stars 3.69k forks source link

Robot-shop is not reporting anymore into Instana websiteMonitoring view #141

Open teresanovielloatinstana opened 1 year ago

teresanovielloatinstana commented 1 year ago

I remember some months ago I could fire up robot-shop and get it reporting to any Instana environment (release, qa, pink, it wouldn't matter...) just uncommenting these docker-compose.yaml lines:

# environment:
      # INSTANA_EUM_KEY: <your eum key>
      # INSTANA_EUM_REPORTING_URL: <your reporting url>

and filling them with the values reported in the configuration section of the websiteMonitoring view. Firing up robot-shop with this docker-compose.yaml file, with the command docker-compose up would have been enough. Now this procedure is not working. Did something change?

Can you please help here?

rishinair11 commented 1 year ago

Still facing this issue here. I enabled EUM for robot-shop and created a new website in Instana, pointed robot-shop to the correct EUM URL and key, and I have no metrics. Also, I get this error in the web deployment:

2023-06-27 12:00:47, 24 [lis] Error: lookup requests for all agent host candidates failed
2023-06-27 12:00:47, 25 [lis] Error: lookup requests for all agent host candidates failed
2023-06-27 12:00:47, 23 [lis] Error: lookup requests for all agent host candidates failed
2023-06-27 12:00:47, 22 [lis] Error: lookup requests for all agent host candidates failed
2023-06-27 12:00:47, 21 [lis] Error: lookup requests for all agent host candidates failed
2023-06-27 12:00:47, 26 [lis] Error: lookup requests for all agent host candidates failed
2023-06-27 12:00:47, 27 [lis] Error: lookup requests for all agent host candidates failed
2023-06-27 12:00:47, 20 [lis] Error: lookup requests for all agent host candidates failed
image
zhouhn-ibm commented 1 year ago

@teresanovielloatinstana @rishinair11 Could you check if there are errors with EUM JS agent on your browser? You can open the browser dev tools to observe the behaviors of EUM JS agent.

It works from my side. Browser dev tools showed EUM JS agent was successfully downloaded, and beacons were successfully sent to Instana backend. robotshop_browser_dev_tools

Website dashboard with robotshop robotshop_website_dashboard

rishinair11 commented 1 year ago

@zhouhn-ibm eum.min.js seems to be downloaded fine, but I see some other issues as well.

image

Agent is unable to send POST request to send beacons.

image

Console logs

image
zhouhn-ibm commented 1 year ago

I discussed the issue with @rishinair11 on slack, EUM JS agent sending EUM data was blocked by Brave browser in his case. It could work with Firefox.

@teresanovielloatinstana Please use the web browser dev tool to check if EUM JS agent works as expected. Thanks.