robot-shop
robot-shop copied to clipboard
Instana EUM javascript generated incorrectly in Open Shift helm deployment
Deploying Robot Shop to Open Shift using the helm chart generates incorrect EUM javascript, causing Instana EUM reporting to fail.
This is the debug from running the helm chart. Note that the eum.url value passed has the trailing slash. Release "robot-shop" has been upgraded. Happy Helming! NAME: robot-shop LAST DEPLOYED: Thu Oct 7 09:27:40 2021 NAMESPACE: robot-shop STATUS: deployed REVISION: 2 TEST SUITE: None USER-SUPPLIED VALUES: eum: key: XXXXXXXXXXXXXXXXXXXXX url: https://instana-eum.XXXXXX.XXXXX.com/eum/ ocCreateRoute: true openshift: true
The helm chart deployment results in this eum.html page being created in the container. Note that the trailing slash has been droped from reportingUrl.
As a result, Robot Shop does not transmit data to Instana EUM. After modifying eum.html in the running container to add the trailing slash to reportingUrl, EUM data begins appearing in Instana.
This is using the most recent commit in the master branch.
$ git log commit b1adf4c6506c61ed96b9634ba3b2710f6e5e2091 (HEAD -> master, origin/master, origin/HEAD) Author: SteveWW [email protected] Date: Wed Sep 1 12:27:45 2021 +0100