Skip to content

Commit

Permalink
Update Readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dingmeng-xue authored Nov 2, 2023
1 parent 0838d13 commit 5b95883
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hystrix-turbine-sample/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ You can now play with your Circuit Breaker Dashboard.

Hystrix metrics streams are also accessible from test-endpoint. As a backend service, `recommendation-service` doesn't need a public end-point. You can get endpoint using command below.
```bash
echo $(az spring test-endpoint list -g ${RESOURCE_GROUP} --app recommendation-service -n ${SPRING_APPS_SERVICE} --app recommendation-service --query "primaryTestEndpoint" -o tsv)
echo $(az spring test-endpoint list -g ${RESOURCE_GROUP} -n ${SPRING_APPS_SERVICE} --app recommendation-service --query "primaryTestEndpoint" -o tsv)
```

If you need to show its metrics, you need to get full path using command below.
```bash
echo $(az spring test-endpoint list -g ${RESOURCE_GROUP} --app recommendation-service -n ${SPRING_APPS_SERVICE} --app recommendation-service --query "primaryTestEndpoint" -o tsv)/actuator/hystrix.stream
echo $(az spring test-endpoint list -g ${RESOURCE_GROUP} -n ${SPRING_APPS_SERVICE} --app recommendation-service --query "primaryTestEndpoint" -o tsv)/actuator/hystrix.stream
```

As a web app, Hystrix dashboard should also be working on test endpoint. However, it is not working properly for two reasons: First, using test endpoint will change the base URL from `/` to `/<APP-NAME>/<DEPLOYMENT-NAME>`. Second, the web app is using absolute path for static resource. To get it worked on test endpoint, you might need to manually edit the `<base>`in the front-end files.

0 comments on commit 5b95883

Please sign in to comment.