From 1d48acb65761e5c9829c3d6df1fb6a5c7809b26f Mon Sep 17 00:00:00 2001 From: Pierre Tessier Date: Fri, 2 Jun 2023 01:08:56 -0400 Subject: [PATCH 1/2] fix recommendations url Signed-off-by: Pierre Tessier --- src/loadgenerator/locustfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/loadgenerator/locustfile.py b/src/loadgenerator/locustfile.py index b0a8dc1804..20264bd788 100644 --- a/src/loadgenerator/locustfile.py +++ b/src/loadgenerator/locustfile.py @@ -67,7 +67,7 @@ def get_recommendations(self): params = { "productIds": [random.choice(products)], } - self.client.get("/api/recommendations/", params=params) + self.client.get("/api/recommendations", params=params) @task(3) def get_ads(self): From 46f82634e8da8021805213923a53a0f5a25fb70d Mon Sep 17 00:00:00 2001 From: Pierre Tessier Date: Fri, 2 Jun 2023 01:15:39 -0400 Subject: [PATCH 2/2] fix recommendations url Signed-off-by: Pierre Tessier --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 25f465c95a..f35ea32c70 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,8 @@ release. ([#880](https://github.com/open-telemetry/opentelemetry-demo/pull/880)) * [currencyservice] Fix OTel C++ build and update OTel version to 1.9.0 ([#886](https://github.com/open-telemetry/opentelemetry-demo/pull/886)) +* [loadgenerator] fix redirect on recommendations load + ([#913](https://github.com/open-telemetry/opentelemetry-demo/pull/913)) ## 1.4.0